numam-dpdk/lib/security
Nithin Dabilpuram d08dcd28c3 security: add option for faster user/meta data access
Currently rte_security_set_pkt_metadata() and rte_security_get_userdata()
methods to set pkt metadata on Inline outbound and get userdata
after Inline inbound processing is always driver specific callbacks.

For drivers that do not have much to do in the callbacks but just
to update metadata in rte_security dynamic field and get userdata
from rte_security dynamic field, having to just to PMD specific
callback is costly per packet operation. This patch provides
a mechanism to do the same in inline function and avoid function
pointer jump if a driver supports the same.

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-28 08:43:47 +02:00
..
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_security_driver.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_security.c security: add option for faster user/meta data access 2021-09-28 08:43:47 +02:00
rte_security.h security: add option for faster user/meta data access 2021-09-28 08:43:47 +02:00
version.map security: add option for faster user/meta data access 2021-09-28 08:43:47 +02:00