xdp-tutorial
xdp-tutorial copied to clipboard
Does XDP support jumbo frames (frames having size > 1500)
I want to use packets having size more than 1500 bytes, so I want to increase MTU, but when I am increasing MTU xdp is not working, any setting I have to change here ? I am using the command - ifconfig interface mtu size
Adarsh Sunilkumar @.***> writes:
I want to use packets having size more than 1500 bytes, so I want to increase MTU, but when I am increasing MTU xdp is not working, any setting I have to change here ?
I am using the command - ifconfig interface mtu size
It varies a little bit by driver - some drivers will support MTUs up to slightly less than a memory page size (i.e., just under 4k), others half that. So if you raise the MTU and your XDP program is rejected, that's a hint that it won't work. There is work in progress to support packets spanning multiple bits of memory, but it's not supported yet...