DPDK  20.05.0
Data Fields
rte_cryptodev_data Struct Reference

#include <rte_cryptodev.h>

Data Fields

uint8_t dev_id
 
uint8_t socket_id
 
char name [RTE_CRYPTODEV_NAME_MAX_LEN]
 
__extension__ uint8_t dev_started: 1
 
struct rte_mempoolsession_pool
 
void ** queue_pairs
 
uint16_t nb_queue_pairs
 
void * dev_private
 

Detailed Description

The data part, with no function pointers, associated with each device.

This structure is safe to place in shared memory to be common among different processes in a multi-process configuration.

Definition at line 896 of file rte_cryptodev.h.

Field Documentation

uint8_t dev_id

Device ID for this instance

Definition at line 897 of file rte_cryptodev.h.

uint8_t socket_id

Socket ID where memory is allocated

Definition at line 899 of file rte_cryptodev.h.

Unique identifier name

Definition at line 901 of file rte_cryptodev.h.

__extension__ uint8_t dev_started

Device state: STARTED(1)/STOPPED(0)

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 905 of file rte_cryptodev.h.

struct rte_mempool* session_pool

Session memory pool

Definition at line 908 of file rte_cryptodev.h.

void** queue_pairs

Array of pointers to queue pairs.

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 910 of file rte_cryptodev.h.

uint16_t nb_queue_pairs

Number of device queue pairs.

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 912 of file rte_cryptodev.h.

void* dev_private

PMD-specific private data

Definition at line 915 of file rte_cryptodev.h.


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