Hi Samie, In your example, you requested to use "addr=10.40.3.1". To use the 10 GbE SFP port, be sure to specify the address of the XG port, which is typically 192.168.10.2. I don't think jumbo frames are supported over the 1 GbE RJ45 port.
Thanks, Wade On Fri, Dec 16, 2022 at 4:47 AM Samie Mostafavi <ss...@kth.se> wrote: > Hi, > > > I could narrow down the problem to tx_spp. Tried the following command > instead for benchmark and it seems that RX spp could be set to 1919 but TX > spp max that is reported by the radio is 492. Does anyone know how I can > increase TX spp? > > sudo ./benchmark_rate --args > "mgmt_addr=10.10.3.1,addr=10.40.3.1,master_clock_rate=61.44e6" --duration > 60 --channels "0" --rx_rate 61.44e6 --rx_subdev "A:0" --tx_rate 61.44e6 > --tx_subdev "A:0" --rx_spp 1919 --tx_spp 1919 --tx_stream_args > "spp=1919" --rx_stream_args "spp=1919" > > > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; > UHD_4.3.0.HEAD-0-g1f8fd345 > > [00:00:00.000069] Creating the usrp device with: > mgmt_addr=10.10.3.1,addr=10.40.3.1,master_clock_rate=61.44e6... > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=10.10.3.1,type=e3xx,product=e320,serial=3238B97,name=ni-e320-3238B97,fpga=XG,claimed=False,addr=10.40.3.1,master_clock_rate=61.44e6 > > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=XG,master_clock_rate=61.44e6,mgmt_addr=10.10.3.1,name=ni-e320-3238B97,product=e320'. > > [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... > > [INFO] [0/Radio#0] CODEC loopback test passed > > [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... > > [INFO] [0/Radio#0] CODEC loopback test passed > > [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) > > [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) > > Using Device: Single USRP: > > Device: E300-Series Device > > Mboard 0: e320 > > RX Channel: 0 > > RX DSP: 0 > > RX Dboard: A > > RX Subdev: E3xx > > TX Channel: 0 > > TX DSP: 0 > > TX Dboard: A > > TX Subdev: E3xx > > > [00:00:04.448876213] Setting device timestamp to 0... > > Setting RX spp to 1919 > > Setting TX spp to 492 > > [00:00:04.457322205] Testing receive rate 61.440000 Msps on 1 channels > > [00:00:04.502995425] Testing transmit rate 61.440000 Msps on 1 channels > > Best, > > Samie > ------------------------------ > *From:* Samie Mostafavi <ss...@kth.se> > *Sent:* Friday, December 16, 2022 11:09:56 AM > *To:* usrp-users@lists.ettus.com > *Subject:* [USRP-users] UHD SPP problem with E320 and XG link > > > Hi, > > > I have an E320 device connected to the host with XG fiber connection and > XG FPGA loaded on the E320. UHD version is 4.3.0. I have set the mtu to > 9000 on both sides. Below you can find the configurations. I am trying to > set spp to 1919 but I always get 492. I read in the documents that it > depends on the mtu and by default it is set to the maximum value possible > based on mtu. Below there is the result of benchmark rate as well. > > > host:$ sudo ethtool eno12399np0 > > Settings for eno12399np0: > > Supported ports: [ FIBRE ] > > Supported link modes: 1000baseT/Full > > 10000baseT/Full > > Supported pause frame use: Symmetric Receive-only > > Supports auto-negotiation: Yes > > Supported FEC modes: Not reported > > Advertised link modes: 1000baseT/Full > > 10000baseT/Full > > Advertised pause frame use: Symmetric > > Advertised auto-negotiation: Yes > > Advertised FEC modes: Not reported > > Link partner advertised link modes: Not reported > > Link partner advertised pause frame use: Symmetric > > Link partner advertised auto-negotiation: No > > Link partner advertised FEC modes: Not reported > > Speed: 10000Mb/s > > Duplex: Full > > Port: Direct Attach Copper > > PHYAD: 1 > > Transceiver: internal > > Auto-negotiation: on > > Supports Wake-on: g > > Wake-on: d > > Current message level: 0x00000000 (0) > > > > Link detected: yes > > > host:$ ip -f inet addr show eno12399np0 > > 263: eno12399np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq > state UP group default qlen 1000 > > inet 10.40.2.1/16 brd 10.40.255.255 scope global eno12399np0 > > valid_lft forever preferred_lft forever > > ni-e320-3238B97:~# ip -f inet addr show sfp0 > > 15: sfp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast qlen > 1000 > > inet 10.40.3.1/16 brd 10.40.255.255 scope global sfp0 > > valid_lft forever preferred_lft forever > > > > host:$ ./benchmark_rate --args "addr=10.40.3.1,master_clock_rate=61.44e6" > --duration 60 --channels "0" --rx_rate 61.44e6 --rx_subdev "A:0" --tx_rate > 61.44e6 --tx_subdev "A:0" > > > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; > UHD_4.3.0.HEAD-0-g1f8fd345 > > [00:00:00.000070] Creating the usrp device with: > addr=10.40.3.1,master_clock_rate=61.44e6... > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=10.40.3.1,type=e3xx,product=e320,serial=3238B97,name=ni-e320-3238B97,fpga=XG,claimed=False,addr=10.40.3.1,master_clock_rate=61.44e6 > > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=XG,master_clock_rate=61.44e6,mgmt_addr=10.40.3.1,name=ni-e320-3238B97,product=e320'. > > [INFO] [0/Radio#0] Performing CODEC loopback test on channel 0 ... > > [INFO] [0/Radio#0] CODEC loopback test passed > > [INFO] [0/Radio#0] Performing CODEC loopback test on channel 1 ... > > [INFO] [0/Radio#0] CODEC loopback test passed > > [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) > > [INFO] [0/DmaFIFO#0] BIST passed (Estimated Minimum Throughput: 1361 MB/s) > > Using Device: Single USRP: > > Device: E300-Series Device > > Mboard 0: e320 > > RX Channel: 0 > > RX DSP: 0 > > RX Dboard: A > > RX Subdev: E3xx > > TX Channel: 0 > > TX DSP: 0 > > TX Dboard: A > > TX Subdev: E3xx > > > [00:00:04.923395067] Setting device timestamp to 0... > > *Setting TX spp to 492* > > [00:00:04.935123785] Testing receive rate 61.440000 Msps on 1 channels > > [00:00:04.977439269] Testing transmit rate 61.440000 Msps on 1 channels > > UUUU[00:01:04.979477903] Benchmark complete. > > > > Benchmark rate summary: > > Num received samples: 3686373960 > > Num dropped samples: 0 > > Num overruns detected: 0 > > Num transmitted samples: 3686410860 > > Num sequence errors (Tx): 0 > > Num sequence errors (Rx): 0 > > Num underruns detected: 4 > > Num late commands: 0 > > Num timeouts (Tx): 0 > > Num timeouts (Rx): 0 > > > > Done > > > As you can see TX spp is set to 492. But I want 1919 with 9000 mtu. Is > there anything I am missing here? > > > Best, > > Samie > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com