numam-dpdk/lib/mbuf
Nithin Dabilpuram 6d1f8c1319 mbuf: enforce semantics for Tx inline IPsec processing
Not all net PMD's/HW can parse packet and identify L2 header and
L3 header locations on Tx. This is inline with other Tx offloads
requirements such as L3 checksum, L4 checksum offload, etc,
where mbuf.l2_len, mbuf.l3_len etc, needs to be set for HW to be
able to generate checksum. Since Inline IPsec is also such a Tx
offload, some PMD's at least need mbuf.l2_len to be valid to
find L3 header and perform Outbound IPSec processing.

Hence, this patch updates documentation to enforce setting
mbuf.l2_len while setting PKT_TX_SEC_OFFLOAD in mbuf.ol_flags
for Inline IPsec Crypto / Protocol offload processing to
work on Tx.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-09-27 09:55:41 +02:00
..
meson.build build: fix formatting of Meson lists 2021-05-04 15:01:47 +02:00
rte_mbuf_core.h mbuf: enforce semantics for Tx inline IPsec processing 2021-09-27 09:55:41 +02:00
rte_mbuf_dyn.c mbuf: check shared memory before dumping dynamic space 2021-05-04 19:49:44 +02:00
rte_mbuf_dyn.h
rte_mbuf_pool_ops.c
rte_mbuf_pool_ops.h
rte_mbuf_ptype.c
rte_mbuf_ptype.h
rte_mbuf.c mbuf: clarify usage of packet pool initializers 2021-05-04 22:41:32 +02:00
rte_mbuf.h mbuf: clarify usage of packet pool initializers 2021-05-04 22:41:32 +02:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00