numam-dpdk/drivers/net/axgbe
Steve Yang 2570c03357 net/axgbe: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition.
If the Ether overhead is larger than 18 when it supports VLAN tag,
that will cause the jumbo flag rx offload is wrong when MTU size is
'RTE_ETHER_MTU'.

This fix will normalize the boundary condition with 'RTE_ETHER_MTU'
and overhead even though current overhead is 18.

Fixes: b58d8781fa ("net/axgbe: support setting MTU")
Cc: stable@dpdk.org

Signed-off-by: Steve Yang <stevex.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-01-19 03:30:15 +01:00
..
axgbe_common.h net/axgbe: support VLAN 2021-01-08 16:03:04 +01:00
axgbe_dev.c net/axgbe: support VLAN 2021-01-08 16:03:04 +01:00
axgbe_ethdev.c net/axgbe: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
axgbe_ethdev.h net/axgbe: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
axgbe_i2c.c net/axgbe: add debug logs 2020-03-18 10:21:41 +01:00
axgbe_logs.h net/axgbe: add minimal init and uninit support 2018-04-14 00:41:44 +02:00
axgbe_mdio.c net/axgbe: use common bit operations API 2020-06-16 14:34:42 +02:00
axgbe_phy_impl.c net/axgbe: add debug logs 2020-03-18 10:21:41 +01:00
axgbe_phy.h net/axgbe: add phy register map and helper macros 2018-04-14 00:41:44 +02:00
axgbe_regs.h net/axgbe: support registers dump 2020-03-18 10:21:41 +01:00
axgbe_rxtx_vec_sse.c net/axgbe: support IEEE 1588 PTP 2020-09-18 18:55:10 +02:00
axgbe_rxtx.c net/axgbe: support reading FW version 2021-01-13 18:51:57 +01:00
axgbe_rxtx.h net/axgbe: support reading FW version 2021-01-13 18:51:57 +01:00
meson.build build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00