Actually my pc’s Ethernet card chip is from Realtek. I’ve tried all possible MTU sizes of auto, 1000, 1500, 2000, and up to 9000. Always the same errors. Is it the inherent problem with the Realtek chip? If that, is there any workaround? eg. Changing the default Linux driver, or the last solution, ie. I have to try install a PCIE network card. Which brand ethernet card is compatible, one from Intel?
________________________________ 发件人: Marcus D Leech <patchvonbr...@gmail.com> 发送时间: Wednesday, July 24, 2019 7:34:13 AM 收件人: 汤 飞 <retina...@hotmail.com> 抄送: Sam Reiter <sam.rei...@ettus.com>; usrp-users@lists.ettus.com <usrp-users@lists.ettus.com> 主题: Re: [USRP-users] 答复: N310 "Bad CHDR or packet fragment" Problem Some Ethernet 1g controllers won’t actually do MTUs greater than 1500 despite ethnology telling them to. Some Realtek for example. If it’s just 1G try default MTU of 1500 and work your way up to see where it fails. Sent from my iPhone On Jul 23, 2019, at 7:15 PM, 汤 飞 via USRP-users <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote: It’s a 1g SFP0 link. I set MTU to 8000 according to the Application Note. ________________________________ 发件人: Sam Reiter <sam.rei...@ettus.com<mailto:sam.rei...@ettus.com>> 发送时间: Wednesday, July 24, 2019 4:56:21 AM 收件人: 汤 飞 <retina...@hotmail.com<mailto:retina...@hotmail.com>> 抄送: usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com> <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> 主题: Re: [USRP-users] N310 "Bad CHDR or packet fragment" Problem If you're connected over a 10GbE link, make sure to set your host's MTU appropriately. I set mine to 9000. Sam Reiter SDR Support Engineer Ettus Research On Fri, Jul 19, 2019 at 2:21 AM 汤 飞 via USRP-users <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote: Hi, all, When benchmarking my N310, I keep getting such [RX FLOW CTRL] errors. What causes this and how to solve it? Thanks in advance! FT /usr/local/lib/uhd/examples/benchmark_rate \ > --args > "type=n3xx,mgmt_addr=192.168.10.2,addr=192.168.10.2,master_clock_rate=122.88e6" > \ > --duration 60 \ > --channels "0" \ > --rx_rate 3.84e6 \ > --rx_subdev "A:0" \ > --tx_rate 3.84e6 \ > --tx_subdev "A:0" [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.1.HEAD-0-gbfb9c1c7 [00:00:00.000014] Creating the usrp device with: type=n3xx,mgmt_addr=192.168.10.2,addr=192.168.10.2,master_clock_rate=122.88e6... [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=3182B09,claimed=False,addr=192.168.10.2,master_clock_rate=122.88e6 [INFO] [MPM.PeriphManager] init() called with device args `master_clock_rate=122.88e6,time_source=internal,clock_source=internal,mgmt_addr=192.168.10.2,product=n310'. [INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004) [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312) [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312) [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002) [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002) [INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000) [INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000) [INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000) [INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000) Using Device: Single USRP: Device: N300-Series Device Mboard 0: ni-n3xx-3182B09 RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: Magnesium TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: Magnesium [00:00:17.353184] Setting device timestamp to 0... [00:00:17.412187] Testing receive rate 3.840000 Msps on 1 channels [00:00:17.414164] Receiver error: ERROR_CODE_BAD_PACKET [[ERROR] [RX FLOW CTRL] Error unpacking packet: ValueError: Bad CHDR or packet fragment [ERROR] [STREAMER] The receive packet handler caught a value exception. ValueError: Bad CHDR or packet fragment 00:00:17.414180] Unexpected error on recv, continuing... [00:00:17.514258] Receiver error: ERROR_CODE_TIMEOUT, continuing... [00:00:17.514312] Receiver error: ERROR_CODE_BAD_PACKET [00:00:17.514317] Unexpected error on recv, continuing... [ERROR] [RX FLOW CTRL] Error unpacking packet: ValueError: Bad CHDR or packet fragment [ERROR] [STREAMER] The receive packet handler caught a value exception. ValueError: Bad CHDR or packet fragment [00:00:17.532991] Testing transmit rate 3.840000 Msps on 1 channels [00:00:17.614329] Receiver error: ERROR_CODE_TIMEOUT, continuing... [00:00:17.614372] Receiver error: ERROR_CODE_BAD_PACKET [00:00:17.614377] Unexpected error on recv, continuing... _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com