Re: [PATCH v4] net/nfp: make sure MTU is never larger than mbufsize

2022-05-19 Thread Andrew Rybchenko
On 5/11/22 04:15, Peng Zhang wrote: Setting a MTU larger than mbufsize is not supported by the device but not prohibited by the driver. This change adds a restriction to the driver to prevent setting an MTU that is too large. While at it define the minimum MTU in the device information to descri

[PATCH v4] net/nfp: make sure MTU is never larger than mbufsize

2022-05-10 Thread Peng Zhang
Setting a MTU larger than mbufsize is not supported by the device but not prohibited by the driver. This change adds a restriction to the driver to prevent setting an MTU that is too large. While at it define the minimum MTU in the device information to describe the complete supported MTU range.