numam-dpdk/drivers/net/liquidio
Steve Yang 92c87229a9 net/liquidio: 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: 9f1c00266d ("net/liquidio: add API to 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 ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
lio_ethdev.c net/liquidio: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
lio_ethdev.h net/liquidio: fix jumbo frame flag condition for MTU set 2021-01-19 03:30:15 +01:00
lio_logs.h net/liquidio: implement dynamic logging 2018-01-16 18:47:49 +01:00
lio_rxtx.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
lio_rxtx.h drivers: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
lio_struct.h net/liquidio: support queue re-configuration 2018-01-16 18:47:49 +01: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