numam-dpdk/drivers/net/ipn3ke
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
..
ipn3ke_ethdev.c log: register with standardized names 2021-05-11 15:17:55 +02:00
ipn3ke_ethdev.h ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
ipn3ke_flow.c eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
ipn3ke_flow.h net/ipn3ke: support flow API 2019-04-19 14:51:54 +02:00
ipn3ke_logs.h net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
ipn3ke_rawdev_api.h net/ipn3ke: remove configuration for i40e port bonding 2019-11-20 17:36:05 +01:00
ipn3ke_representor.c ethdev: move jumbo frame offload check to library 2021-10-18 19:20:21 +02:00
ipn3ke_tm.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
version.map net/ipn3ke: change experimental symbol to internal 2021-08-31 16:00:04 +02:00