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 describe the complete supported MTU range. Fixes: d4a27a3 ("nfp: add basic features") Cc: [email protected] Signed-off-by: Peng Zhang <[email protected]> Signed-off-by: Chaoyong He <[email protected]> Signed-off-by: Louis Peens <[email protected]> Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Walter Heymans <[email protected]>
Reviewed-by: Andrew Rybchenko <[email protected]> Applied, thanks.

