usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Limit of RFNoC Packet Size?

AT
Andrew Thommesen
Thu, Dec 14, 2017 7:17 PM

Hi,

I am now able to control the packet size from the radio block (by setting spp in the arguments) and from a file source (using the gnuradio vector to stream block). However, it appears that the packet size is limited to 364. If I use a larger packet size for the radio block I get a "timeout on Ch0". If i use a larger packet size on the file source it default back to 364.

Is it possible to have a packet size of 512? The reason is that my RFNoC block is expecting data blocks of this length, so compliance with the AXI protocol will be simpler if I can just pass through each packet.

Any help would be greatly appreciated,

Andy

Hi, I am now able to control the packet size from the radio block (by setting spp in the arguments) and from a file source (using the gnuradio vector to stream block). However, it appears that the packet size is limited to 364. If I use a larger packet size for the radio block I get a "timeout on Ch0". If i use a larger packet size on the file source it default back to 364. Is it possible to have a packet size of 512? The reason is that my RFNoC block is expecting data blocks of this length, so compliance with the AXI protocol will be simpler if I can just pass through each packet. Any help would be greatly appreciated, Andy
NF
Nick Foster
Thu, Dec 14, 2017 7:25 PM

Max packet size will be limited by your Ethernet MTU. Default MTU is 1500,
which corresponds to 1456 bytes plus overhead. 1456/4 = 364. If you want
longer packets:

ip link set <interface name> mtu 8000

Nick

On Thu, Dec 14, 2017 at 11:18 AM Andrew Thommesen via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hi,

I am now able to control the packet size from the radio block (by setting
spp in the arguments) and from a file source (using the gnuradio vector to
stream block). However, it appears that the packet size is limited to 364.
If I use a larger packet size for the radio block I get a "timeout on Ch0".
If i use a larger packet size on the file source it default back to 364.

Is it possible to have a packet size of 512? The reason is that my RFNoC
block is expecting data blocks of this length, so compliance with the AXI
protocol will be simpler if I can just pass through each packet.

Any help would be greatly appreciated,

Andy


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Max packet size will be limited by your Ethernet MTU. Default MTU is 1500, which corresponds to 1456 bytes plus overhead. 1456/4 = 364. If you want longer packets: # ip link set <interface name> mtu 8000 Nick On Thu, Dec 14, 2017 at 11:18 AM Andrew Thommesen via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi, > > > I am now able to control the packet size from the radio block (by setting > spp in the arguments) and from a file source (using the gnuradio vector to > stream block). However, it appears that the packet size is limited to 364. > If I use a larger packet size for the radio block I get a "timeout on Ch0". > If i use a larger packet size on the file source it default back to 364. > > > Is it possible to have a packet size of 512? The reason is that my RFNoC > block is expecting data blocks of this length, so compliance with the AXI > protocol will be simpler if I can just pass through each packet. > > > Any help would be greatly appreciated, > > > Andy > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >