numam-dpdk/drivers/net/bnxt
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
..
bnxt_cpr.c net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_cpr.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_ethdev.c net/bnxt: fix build with some compilers 2019-06-14 15:55:38 +09:00
bnxt_filter.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
bnxt_filter.h net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_flow.c net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_hwrm.c net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_hwrm.h net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_irq.c net/bnxt: check for null completion ring doorbell 2019-06-14 00:01:06 +09:00
bnxt_irq.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_ring.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_rxtx_vec_sse.c net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_stats.c net/bnxt: fix xstats 2019-06-14 00:01:06 +09:00
bnxt_stats.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_txq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txr.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
bnxt_txr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_util.c net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_util.h net/bnxt: move function check zero bytes 2018-07-03 01:35:58 +02:00
bnxt_vnic.c net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt_vnic.h net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt.h net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM API to version 1.10.0.74 2019-06-13 23:54:28 +09:00
Makefile net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
meson.build net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
rte_pmd_bnxt_version.map net/bnxt: fix automatic clearing of VF stats 2017-07-06 15:00:57 +02:00
rte_pmd_bnxt.c net/bnxt: remove unnecessary cast 2019-06-13 23:54:29 +09:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00