numam-dpdk/drivers/net/netvsc
Long Li 559a1f2eea net/netvsc: fix calculation of checksums based on mbuf flag
The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the masked value
to decide the correct way to calculate checksums.

Not checking for RTE_MBUF_F_TX_L4_MASK results in incorrect RNDIS
packets sent to VSP and incorrect checksums calculated by the VSP.

Fixes: 4e9c73e96e ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org

Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
2022-04-26 23:46:58 +02:00
..
hn_ethdev.c drivers: remove direct access to interrupt handle 2021-10-25 21:20:12 +02:00
hn_logs.h
hn_nvs.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
hn_nvs.h net/netvsc: support VF device hot add/remove 2021-01-17 22:37:28 +01:00
hn_rndis.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
hn_rndis.h
hn_rxtx.c net/netvsc: fix calculation of checksums based on mbuf flag 2022-04-26 23:46:58 +02:00
hn_var.h ethdev: hide internal structures 2021-10-13 22:14:59 +02:00
hn_vf.c fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
meson.build remove extra blank line at EOF 2022-02-27 21:26:06 +01:00
ndis.h
rndis.h
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00