d08dcd28c3
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>
26 lines
500 B
Plaintext
26 lines
500 B
Plaintext
DPDK_22 {
|
|
global:
|
|
|
|
rte_security_attach_session;
|
|
rte_security_capabilities_get;
|
|
rte_security_capability_get;
|
|
rte_security_session_create;
|
|
rte_security_session_destroy;
|
|
rte_security_session_get_size;
|
|
rte_security_set_pkt_metadata;
|
|
|
|
local: *;
|
|
};
|
|
|
|
EXPERIMENTAL {
|
|
global:
|
|
|
|
__rte_security_get_userdata;
|
|
__rte_security_set_pkt_metadata;
|
|
rte_security_dynfield_offset;
|
|
rte_security_dynfield_register;
|
|
rte_security_get_userdata;
|
|
rte_security_session_stats_get;
|
|
rte_security_session_update;
|
|
};
|