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

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu May 19 09:08:37 CEST 2022


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: stable at dpdk.org
> 
> Signed-off-by: Peng Zhang <peng.zhang at corigine.com>
> Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
> Signed-off-by: Louis Peens <louis.peens at corigine.com>
> Signed-off-by: Niklas Söderlund <niklas.soderlund at corigine.com>
> Reviewed-by: Walter Heymans <walter.heymans at corigine.com>

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Applied, thanks.



More information about the stable mailing list