numam-dpdk/drivers/net/dpaa
Ferruh Yigit dd4e429c95 ethdev: move jumbo frame offload check to library
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@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Huisong Li <lihuisong@huawei.com>
2021-10-18 19:20:21 +02:00
..
fmlib net/dpaa: support VSP in fmlib 2020-09-18 18:55:07 +02:00
dpaa_ethdev.c ethdev: move jumbo frame offload check to library 2021-10-18 19:20:21 +02:00
dpaa_ethdev.h ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
dpaa_flow.c net/dpaa: fix headroom in VSP case 2021-07-23 19:41:06 +02:00
dpaa_flow.h net/dpaa: support virtual storage profile 2020-09-18 18:55:08 +02:00
dpaa_fmc.c net/dpaa: explain behaviour with FMC policy 2021-10-07 14:47:35 +02:00
dpaa_rxtx.c net/dpaa: support external buffers in Tx 2021-02-24 18:03:30 +01:00
dpaa_rxtx.h net/dpaa: support external buffers in Tx 2021-02-24 18:03:30 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_dpaa.h net/dpaa: fix port ID type in API 2020-09-18 18:55:10 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00