numam-dpdk/lib
Ivan Malov 6bf0912011 net: fix encapsulation markers for inner L3 offset
The API to prepare checksum offloads employs outer
IP checksum flag to tell regular IPv4 packets from
tunnel packets with outer IPv4 encapsulation. This
flag cannot serve as a marker for the said purpose
because a packet can have outer IPv4 encapsulation
and may not have outer IP checksum offload request.

Fix the API by changing the said criterion to test
outer IPv4 flag rather than outer IP checksum flag.
Use simpler spelling of the conditional expression.

Fixes: 4fb7e803eb ("ethdev: add Tx preparation")
Cc: stable@dpdk.org

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-06-28 20:31:49 +02:00
..
librte_acl acl: fix build with some arm64 compiler 2019-06-12 00:07:13 +09:00
librte_bbdev enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_bitratestats bitrate: fix unchecked return value 2019-04-23 00:19:06 +02:00
librte_bpf enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_cfgfile cfgfile: replace strcat with strlcat 2019-04-05 14:48:15 +02:00
librte_cmdline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
librte_compressdev enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_cryptodev enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_distributor doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_eal eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
librte_efd doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ethdev enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_eventdev enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_flow_classify enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_gro net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
librte_gso net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
librte_hash enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_ip_frag enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_ipsec enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_jobstats replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_kni enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_kvargs remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
librte_latencystats doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_lpm doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_mbuf enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_member replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
librte_mempool doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_meter enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_metrics metrics: disallow null as metric name 2018-07-26 20:30:18 +02:00
librte_net net: fix encapsulation markers for inner L3 offset 2019-06-28 20:31:49 +02:00
librte_pci pci: fix parsing of address without function number 2018-11-13 17:59:42 +01:00
librte_pdump ipc: handle unsupported IPC in action register 2019-06-05 11:27:36 +02:00
librte_pipeline enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_port net: add rte prefix to IP defines 2019-05-24 13:34:46 +02:00
librte_power enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_rawdev doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_rcu enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_reorder doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
librte_ring ring: remove unnecessary forward declaration 2019-06-04 13:09:51 +02:00
librte_sched enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_security enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_stack enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_table enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_telemetry enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_timer enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
librte_vhost enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
Makefile rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
meson.build build: enable BSD features visibility for FreeBSD 2019-06-26 16:50:33 +02:00