DPDK
17.11.10
|
#include <rte_crypto.h>
Data Fields | |
uint8_t | type |
uint8_t | status |
uint8_t | sess_type |
uint8_t | reserved [5] |
struct rte_mempool * | mempool |
rte_iova_t | phys_addr |
union { | |
struct rte_crypto_sym_op sym [0] | |
}; | |
Cryptographic Operation.
This structure contains data relating to performing cryptographic operations. This operation structure is used to contain any operation which is supported by the cryptodev API, PMDs should check the type parameter to verify that the operation is a support function of the device. Crypto operations are enqueued and dequeued in crypto PMDs using the rte_cryptodev_enqueue_burst() / rte_cryptodev_dequeue_burst() .
Definition at line 103 of file rte_crypto.h.
uint8_t type |
operation type
Definition at line 104 of file rte_crypto.h.
uint8_t status |
operation status - this is reset to RTE_CRYPTO_OP_STATUS_NOT_PROCESSED on allocation from mempool and will be set to RTE_CRYPTO_OP_STATUS_SUCCESS after crypto operation is successfully processed by a crypto PMD
Definition at line 106 of file rte_crypto.h.
uint8_t sess_type |
operation session type
Definition at line 113 of file rte_crypto.h.
uint8_t reserved[5] |
Reserved bytes to fill 64 bits for future additions
Definition at line 116 of file rte_crypto.h.
struct rte_mempool* mempool |
crypto operation mempool which operation is allocated from
Definition at line 118 of file rte_crypto.h.
rte_iova_t phys_addr |
physical address of crypto operation
Definition at line 121 of file rte_crypto.h.
struct rte_crypto_sym_op sym[0] |
Symmetric operation parameters
Definition at line 126 of file rte_crypto.h.
__extension__ { ... } |
operation specific parameters