numam-dpdk/drivers/net/e1000
Steve Yang b6c4c94175 net/e1000: 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 VLAN tag.
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: ef990fb56e ("net/e1000: convert to new Rx offloads API")
Cc: stable@dpdk.org

Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
2021-01-19 03:30:14 +01:00
..
base net/e1000/base: update version 2020-07-07 23:38:27 +02:00
e1000_ethdev.h net/e1000: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:14 +01:00
e1000_logs.c net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
e1000_logs.h net/e1000: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:57 +02:00
em_ethdev.c net/e1000: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:14 +01:00
em_rxtx.c eal: remove deprecated coherent IO memory barriers 2020-09-23 13:40:26 +02:00
igb_ethdev.c net/e1000: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:14 +01:00
igb_flow.c ethdev: move flexible filter type to e1000 driver 2020-11-03 23:35:05 +01:00
igb_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
igb_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
igb_rxtx.c net/e1000: fix crash on Tx done clean up 2020-07-21 13:54:54 +02:00
meson.build drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00