numam-dpdk/lib/librte_net
Yuying Zhang 4a67e71816 net: fix IPv6 checksum with TSO
The ol_flags check lacks of flag for IPv6 which causes checksum
flag configuration error while IPv6/TCP TSO packet is sent.
This patch fixes the issue by adding PKT_TX_TCP_SEG flag.

The rte_net_intel_cksum_flags_prepare() function prepares the
pseudo header checksum in packet data when doing checksum or TSO
offload.

Fixes: 520059a41a ("net: check fragmented headers in non-debug as well")

Signed-off-by: Yuying Zhang <yuying.zhang@intel.com>
Tested-by: Xi Zhang <xix.zhang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2020-07-30 00:41:24 +02:00
..
Makefile ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
meson.build ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
net_crc_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
net_crc_sse.h add missing static keyword to globals 2018-10-29 02:01:08 +01:00
rte_arp.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_arp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ecpri.h ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
rte_esp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ether.c net: be more restrictive with ethernet address format 2019-07-23 14:31:35 +02:00
rte_ether.h ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
rte_gre.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_gtp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_higig.h ethdev: add HIGIG2 key field to flow API 2019-10-23 16:43:10 +02:00
rte_icmp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_ip.h net: fix checksum on big endian CPUs 2020-07-11 00:45:20 +02:00
rte_mpls.h net: fix pedantic build 2020-07-21 17:36:54 +02:00
rte_net_crc.c net: hide internal CRC defines 2019-10-25 19:00:22 +02:00
rte_net_crc.h net: hide internal CRC defines 2019-10-25 19:00:22 +02:00
rte_net_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_net.c net: add rte prefix to MPLS structure 2019-10-25 19:00:22 +02:00
rte_net.h net: fix IPv6 checksum with TSO 2020-07-30 00:41:24 +02:00
rte_sctp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_tcp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_udp.h replace packed attributes 2020-04-16 18:16:46 +02:00
rte_vxlan.h replace packed attributes 2020-04-16 18:16:46 +02:00