On Fri, Dec 02, 2016 at 04:07:09PM -0800, Rick Jones wrote: > On 12/02/2016 03:23 PM, Martin KaFai Lau wrote: > >When XDP prog is attached, it is currently limiting > >MTU to be FRAG_SZ0 - ETH_HLEN - (2 * VLAN_HLEN) which is 1514 > >in x86. > > > >AFAICT, since mlx4 is doing one page per packet for XDP, > >we can at least raise the MTU limitation up to > >PAGE_SIZE - ETH_HLEN - (2 * VLAN_HLEN) which this patch is > >doing. It will be useful in the next patch which allows > >XDP program to extend the packet by adding new header(s). > > Is mlx4 the only driver doing page-per-packet? Sorry for the late reply. This allocation scheme is only effective when XDP is active. AFAIK, only mlx4/5 supports XDP now.
- [PATCH net-next 0/4]: Allow head adjustment in XDP prog Martin KaFai Lau
- [PATCH net-next 4/4] bpf: xdp: Add XDP example for... Martin KaFai Lau
- [PATCH net-next 2/4] mlx4: xdp: Allow raising MTU ... Martin KaFai Lau
- Re: [PATCH net-next 2/4] mlx4: xdp: Allow rais... Rick Jones
- Re: [PATCH net-next 2/4] mlx4: xdp: Allow ... Martin KaFai Lau
- Re: [PATCH net-next 2/4] mlx4: xdp: Al... Jakub Kicinski
- Re: [PATCH net-next 2/4] mlx4: xdp: Allow rais... Eric Dumazet
- Re: [PATCH net-next 2/4] mlx4: xdp: Allow ... Alexei Starovoitov
- Re: [PATCH net-next 2/4] mlx4: xdp: Al... Eric Dumazet
- Re: [PATCH net-next 2/4] mlx4: xd... Martin KaFai Lau
- Re: [PATCH net-next 2/4] mlx4... Eric Dumazet
- Re: [PATCH net-next 2/4] mlx4: xdp: Al... Saeed Mahameed
- Re: [PATCH net-next 2/4] mlx4: xd... Eric Dumazet
- [PATCH net-next 1/4] bpf: xdp: Allow head adjustme... Martin KaFai Lau
- Re: [PATCH net-next 1/4] bpf: xdp: Allow head ... Daniel Borkmann