DPDK 22.11.5
|
Go to the source code of this file.
Enumerations | |
enum | rte_pmd_cnxk_sec_action_alg { RTE_PMD_CNXK_SEC_ACTION_ALG0 , RTE_PMD_CNXK_SEC_ACTION_ALG1 , RTE_PMD_CNXK_SEC_ACTION_ALG2 , RTE_PMD_CNXK_SEC_ACTION_ALG3 } |
Functions | |
__rte_experimental int | rte_pmd_cnxk_hw_sa_read (void *device, struct rte_security_session *sess, void *data, uint32_t len) |
__rte_experimental int | rte_pmd_cnxk_hw_sa_write (void *device, struct rte_security_session *sess, void *data, uint32_t len) |
CNXK PMD specific functions.
Definition in file rte_pmd_cnxk.h.
Algorithm type to be used with security action to calculate SA_index
Definition at line 22 of file rte_pmd_cnxk.h.
__rte_experimental int rte_pmd_cnxk_hw_sa_read | ( | void * | device, |
struct rte_security_session * | sess, | ||
void * | data, | ||
uint32_t | len | ||
) |
Read HW SA context from session.
device | Port identifier of Ethernet device. | |
sess | Handle of the security session. | |
[out] | data | Destination pointer to copy SA context for application. |
len | Length of SA context to copy into data parameter. |
__rte_experimental int rte_pmd_cnxk_hw_sa_write | ( | void * | device, |
struct rte_security_session * | sess, | ||
void * | data, | ||
uint32_t | len | ||
) |
Write HW SA context to session.
device | Port identifier of Ethernet device. | |
sess | Handle of the security session. | |
[in] | data | Source data pointer from application to copy SA context into session. |
len | Length of SA context to copy from data parameter. |