[dpdk-dev] [PATCH v5 2/6] ethdev: move jumbo frame offload check to library
Ananyev, Konstantin
konstantin.ananyev at intel.com
Fri Oct 8 19:20:12 CEST 2021
>
> Setting MTU bigger than RTE_ETHER_MTU requires the jumbo frame support,
> and application should enable the jumbo frame offload support for it.
>
> When jumbo frame offload is not enabled by application, but MTU bigger
> than RTE_ETHER_MTU is requested there are two options, either fail or
> enable jumbo frame offload implicitly.
>
> Enabling jumbo frame offload implicitly is selected by many drivers
> since setting a big MTU value already implies it, and this increases
> usability.
>
> This patch moves this logic from drivers to the library, both to reduce
> the duplicated code in the drivers and to make behaviour more visible.
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Reviewed-by: Rosen Xu <rosen.xu at intel.com>
> Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> Acked-by: Somnath Kotur <somnath.kotur at broadcom.com>
> ---
Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> --
> 2.31.1
More information about the dev
mailing list