DPDK  21.08.0
Data Fields
rte_cryptodev Struct Reference

#include <rte_cryptodev.h>

Data Fields

dequeue_pkt_burst_t dequeue_burst
 
enqueue_pkt_burst_t enqueue_burst
 
struct rte_cryptodev_datadata
 
struct rte_cryptodev_opsdev_ops
 
uint64_t feature_flags
 
struct rte_devicedevice
 
uint8_t driver_id
 
struct rte_cryptodev_cb_list link_intr_cbs
 
void * security_ctx
 
__extension__ uint8_t attached: 1
 
struct rte_cryptodev_cb_rcu * enq_cbs
 
struct rte_cryptodev_cb_rcu * deq_cbs
 

Detailed Description

The data structure associated with each crypto device.

Examples:
examples/fips_validation/fips_dev_self_test.c, and examples/fips_validation/main.c.

Definition at line 909 of file rte_cryptodev.h.

Field Documentation

◆ dequeue_burst

dequeue_pkt_burst_t dequeue_burst

Pointer to PMD receive function.

Definition at line 910 of file rte_cryptodev.h.

◆ enqueue_burst

enqueue_pkt_burst_t enqueue_burst

Pointer to PMD transmit function.

Definition at line 912 of file rte_cryptodev.h.

◆ data

struct rte_cryptodev_data* data

Pointer to device data

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 915 of file rte_cryptodev.h.

◆ dev_ops

struct rte_cryptodev_ops* dev_ops

Functions exported by PMD

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 917 of file rte_cryptodev.h.

◆ feature_flags

uint64_t feature_flags

Feature flags exposes HW/SW features for the given device

Definition at line 919 of file rte_cryptodev.h.

◆ device

struct rte_device* device

Backing device

Definition at line 921 of file rte_cryptodev.h.

◆ driver_id

uint8_t driver_id

Crypto driver identifier

Definition at line 924 of file rte_cryptodev.h.

◆ link_intr_cbs

struct rte_cryptodev_cb_list link_intr_cbs

User application callback for interrupts if present

Definition at line 927 of file rte_cryptodev.h.

◆ security_ctx

void* security_ctx

Context for security ops

Definition at line 930 of file rte_cryptodev.h.

◆ attached

__extension__ uint8_t attached

Flag indicating the device is attached

Definition at line 934 of file rte_cryptodev.h.

◆ enq_cbs

struct rte_cryptodev_cb_rcu* enq_cbs

User application callback for pre enqueue processing

Definition at line 937 of file rte_cryptodev.h.

◆ deq_cbs

struct rte_cryptodev_cb_rcu* deq_cbs

User application callback for post dequeue processing

Definition at line 940 of file rte_cryptodev.h.


The documentation for this struct was generated from the following file: