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

Kevin Traynor ktraynor at redhat.com
Wed May 15 11:25:53 CEST 2019


On 14/05/2019 12:57, Andrew Rybchenko wrote:
> From: Igor Romanov <igor.romanov at oktetlabs.ru>
> 
> [ backported from upstream commit 6c0cc77a2dd3806c5366586d818b1796a610e260 ]
> 
> 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")
> 
> Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>

Thanks Andrew, added into the queue to be pushed next Monday.


More information about the stable mailing list