DPDK  20.08.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 913 of file rte_cryptodev.h.

Field Documentation

uint8_t dev_id

Device ID for this instance

Definition at line 914 of file rte_cryptodev.h.

uint8_t socket_id

Socket ID where memory is allocated

Definition at line 916 of file rte_cryptodev.h.

Unique identifier name

Definition at line 918 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 922 of file rte_cryptodev.h.

struct rte_mempool* session_pool

Session memory pool

Definition at line 925 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 927 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 929 of file rte_cryptodev.h.

void* dev_private

PMD-specific private data

Definition at line 932 of file rte_cryptodev.h.


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