RE: [PATCH net-next v4 3/7] dpaa_eth: limit the possible MTU range when XDP is enabled

2020-11-25 Thread Camelia Alexandra Groza
rg > Subject: Re: [PATCH net-next v4 3/7] dpaa_eth: limit the possible MTU range > when XDP is enabled > > On Mon, Nov 23, 2020 at 07:36:21PM +0200, Camelia Groza wrote: > > Implement the ndo_change_mtu callback to prevent users from setting an > > MTU that would permi

Re: [PATCH net-next v4 3/7] dpaa_eth: limit the possible MTU range when XDP is enabled

2020-11-24 Thread Maciej Fijalkowski
On Mon, Nov 23, 2020 at 07:36:21PM +0200, Camelia Groza wrote: > Implement the ndo_change_mtu callback to prevent users from setting an > MTU that would permit processing of S/G frames. The maximum MTU size > is dependent on the buffer size. > > Acked-by: Madalin Bucur > Signed-off-by: Camelia Gr

[PATCH net-next v4 3/7] dpaa_eth: limit the possible MTU range when XDP is enabled

2020-11-23 Thread Camelia Groza
Implement the ndo_change_mtu callback to prevent users from setting an MTU that would permit processing of S/G frames. The maximum MTU size is dependent on the buffer size. Acked-by: Madalin Bucur Signed-off-by: Camelia Groza --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 40 +