numam-dpdk/drivers/net/iavf
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/iavf: enable more link speed 2019-05-07 12:01:56 +02:00
iavf_ethdev.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
iavf_log.h net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
iavf_rxtx_vec_common.h net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
iavf_rxtx_vec_sse.c net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
iavf_rxtx.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
iavf_rxtx.h net/iavf: move compile time define to configuration 2019-06-20 23:42:04 +02:00
iavf_vchnl.c net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
iavf.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
Makefile net/iavf: move compile time define to configuration 2019-06-20 23:42:04 +02:00
meson.build net/iavf: rename remaining avf strings 2019-03-01 18:17:35 +01:00
rte_pmd_iavf_version.map net/iavf: rename avf to iavf 2019-03-01 18:17:35 +01:00