security: switch metadata to dynamic mbuf field
authorThomas Monjalon <thomas@monjalon.net>
Mon, 26 Oct 2020 00:12:19 +0000 (01:12 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 31 Oct 2020 15:13:11 +0000 (16:13 +0100)
commit614af75489682e39bb005d80173434588e9490a6
tree1da316f9effc68d82c4d5f9419b5b18733675c2c
parentb8d737462ede5403caddf59eaaf795133e958c77
security: switch metadata to dynamic mbuf field

The device-specific metadata was stored in the deprecated field udata64.
It is moved to a dynamic mbuf field in order to allow removal of udata64.

The name rte_security_dynfield is not very descriptive
but it should be replaced later by separate fields for each type of data
that drivers pass to the upper layer.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
14 files changed:
doc/guides/prog_guide/rte_security.rst
drivers/crypto/octeontx2/otx2_cryptodev_sec.c
drivers/net/ixgbe/ixgbe_ipsec.c
drivers/net/ixgbe/ixgbe_rxtx.c
drivers/net/octeontx2/otx2_ethdev.h
drivers/net/octeontx2/otx2_ethdev_sec.c
drivers/net/octeontx2/otx2_ethdev_sec_tx.h
drivers/net/octeontx2/otx2_rx.h
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/ipsec_worker.c
lib/librte_security/rte_security.c
lib/librte_security/rte_security.h
lib/librte_security/rte_security_driver.h
lib/librte_security/version.map