Re: [dpdk-dev] [PATCH v3 3/3] net/af_xdp: fix maximum MTU value

2020-02-13 Thread Loftus, Ciara
> Subject: Re: [dpdk-dev] [PATCH v3 3/3] net/af_xdp: fix maximum MTU value > > On 02/10, Ciara Loftus wrote: > >The maximum MTU for af_xdp zero copy is equal to the page size less the > >frame overhead introduced by AF_XDP (XDP HR = 256) and DPDK (frame > headroom >

Re: [dpdk-dev] [PATCH v3 3/3] net/af_xdp: fix maximum MTU value

2020-02-12 Thread Ye Xiaolong
On 02/10, Ciara Loftus wrote: >The maximum MTU for af_xdp zero copy is equal to the page size less the >frame overhead introduced by AF_XDP (XDP HR = 256) and DPDK (frame headroom >= 320). The patch updates this value to reflect this. > >This change also makes it possible to remove unneeded constan

[dpdk-dev] [PATCH v3 3/3] net/af_xdp: fix maximum MTU value

2020-02-10 Thread Ciara Loftus
The maximum MTU for af_xdp zero copy is equal to the page size less the frame overhead introduced by AF_XDP (XDP HR = 256) and DPDK (frame headroom = 320). The patch updates this value to reflect this. This change also makes it possible to remove unneeded constants for both zero-copy and copy mode