xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

Does XDP support jumbo frames (frames having size > 1500)

Open Adarsh97 opened this issue 3 years ago • 1 comments

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

Adarsh97 avatar Jun 22 '21 18:06 Adarsh97

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...

tohojo avatar Jun 22 '21 21:06 tohojo