[dpdk-dev] [PATCH] net/sfc: fix MTU change to check Rx scatter consistency

Ferruh Yigit ferruh.yigit at intel.com
Tue Apr 23 13:35:34 CEST 2019


On 4/23/2019 9:14 AM, Andrew Rybchenko wrote:
> From: Igor Romanov <igor.romanov at oktetlabs.ru>
> 
> Rx queue setup function checks configured MTU to make sure that
> no oversized packets can be received. But a following call to
> set MTU function might make this check irrelevant.
> 
> Add a function to check MTU size against Rx buffer size and
> additional Rx queue info, including Rx scatter offload.
> 
> Fixes: e961cf425e02 ("net/sfc: support MTU change")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list