numam-dpdk/drivers/net/qede
Steve Yang f9a69f8b5e net/qede: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition,
but the Ether overhead is larger than 18 when it supports dual VLAN tags.
That will cause the jumbo flag rx offload is wrong when MTU size is
'RTE_ETHER_MTU'.

This fix will change the boundary condition with 'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.

Fixes: 200645ac79 ("net/qede: set 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
..
base fix spellings that Lintian complains about 2020-11-04 20:11:31 +01:00
meson.build drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
qede_debug.c net/qede: add infrastructure for debug data collection 2020-07-11 06:18:53 +02:00
qede_debug.h net/qede: add infrastructure for debug data collection 2020-07-11 06:18:53 +02:00
qede_ethdev.c net/qede: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
qede_ethdev.h ethdev: remove legacy FDIR filter type support 2020-11-03 23:35:05 +01:00
qede_filter.c ethdev: remove legacy filter API functions 2020-11-03 23:35:05 +01:00
qede_if.h net/qede: configure VFs on hardware 2020-09-30 19:19:11 +02:00
qede_logs.h net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
qede_main.c net/qede: fix getting link details 2020-10-08 19:58:11 +02:00
qede_regs.c drivers/net: fix port id size 2020-09-30 19:19:15 +02:00
qede_rxtx.c net/qede: fix dereference before null check 2020-09-30 19:19:14 +02:00
qede_rxtx.h net/qede: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
qede_sriov.c net/qede: support VF FLR 2020-09-30 19:19:11 +02:00
qede_sriov.h net/qede: initialize VF MAC and link 2020-09-30 19:19:11 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00