Re: [ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-11-08 Thread Eelco Chaudron
On 7 Nov 2019, at 17:43, Ilya Maximets wrote: On 07.11.2019 15:01, Eelco Chaudron wrote: Any feedback on this? On 1 Oct 2019, at 11:55, Eelco Chaudron wrote: Drivers natively supporting AF_XDP will check that a configured MTU size will not exceed the allowed size for AF_XDP. However, whe

Re: [ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-11-08 Thread Eelco Chaudron
On 8 Nov 2019, at 2:34, William Tu wrote: On Thu, Nov 07, 2019 at 03:01:18PM +0100, Eelco Chaudron wrote: Any feedback on this? On 1 Oct 2019, at 11:55, Eelco Chaudron wrote: Drivers natively supporting AF_XDP will check that a configured MTU size will not exceed the allowed size for AF_

Re: [ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-11-07 Thread William Tu
On Thu, Nov 07, 2019 at 03:01:18PM +0100, Eelco Chaudron wrote: > Any feedback on this? > > > On 1 Oct 2019, at 11:55, Eelco Chaudron wrote: > > >Drivers natively supporting AF_XDP will check that a configured MTU size > >will not exceed the allowed size for AF_XDP. However, when the skb > >comp

Re: [ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-11-07 Thread Ilya Maximets
On 07.11.2019 15:01, Eelco Chaudron wrote: Any feedback on this? On 1 Oct 2019, at 11:55, Eelco Chaudron wrote: Drivers natively supporting AF_XDP will check that a configured MTU size will not exceed the allowed size for AF_XDP. However, when the skb compatibility mode is used there is no ch

Re: [ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-11-07 Thread Eelco Chaudron
Any feedback on this? On 1 Oct 2019, at 11:55, Eelco Chaudron wrote: Drivers natively supporting AF_XDP will check that a configured MTU size will not exceed the allowed size for AF_XDP. However, when the skb compatibility mode is used there is no check and any value is accepted. This, for

[ovs-dev] [PATCH] netdev-afxdp: add afxdp specific maximum MTU check

2019-10-01 Thread Eelco Chaudron
Drivers natively supporting AF_XDP will check that a configured MTU size will not exceed the allowed size for AF_XDP. However, when the skb compatibility mode is used there is no check and any value is accepted. This, for example, is the case when using the TAP interface. This fix adds a check to