numam-dpdk/drivers/net/fm10k
Ivan Malov b51690ec69 mbuf: clarify outer offsets for non-tunnel packets
The default policy for offload-specific fields is that
they are undefined unless the corresponding offloads are
requested in mbuf ol_flags. This is also the case for outer
L2 and L3 length fields which must not be assumed to contain
zeros for non-tunnel packets. The patch clarifies this behaviour
in the comments and also adds appropriate checks to the PMDs which
do not check any tunnel-related offloads before using the said fields.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2019-07-01 17:15:01 +02:00
..
base net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
fm10k_ethdev.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
fm10k_logs.h net/fm10k: implement dynamic logging 2018-01-16 18:47:49 +01:00
fm10k_rxtx_vec.c net/fm10k: fix VLAN strip offload flag 2019-03-29 17:25:32 +01:00
fm10k_rxtx.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
fm10k.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
Makefile drivers/net: fix icc deprecated parameter warning 2018-04-14 00:43:30 +02:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_pmd_fm10k_version.map fm10k: move to drivers/net/ 2015-05-22 16:06:22 +02:00