DPDK  20.11.3
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 882 of file rte_cryptodev.h.

Field Documentation

◆ dev_id

uint8_t dev_id

Device ID for this instance

Definition at line 883 of file rte_cryptodev.h.

◆ socket_id

uint8_t socket_id

Socket ID where memory is allocated

Definition at line 885 of file rte_cryptodev.h.

◆ name

Unique identifier name

Definition at line 887 of file rte_cryptodev.h.

◆ dev_started

__extension__ uint8_t dev_started

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

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 891 of file rte_cryptodev.h.

◆ session_pool

struct rte_mempool* session_pool

Session memory pool

Definition at line 894 of file rte_cryptodev.h.

◆ queue_pairs

void** queue_pairs

Array of pointers to queue pairs.

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 896 of file rte_cryptodev.h.

◆ nb_queue_pairs

uint16_t nb_queue_pairs

Number of device queue pairs.

Examples:
examples/fips_validation/fips_dev_self_test.c.

Definition at line 898 of file rte_cryptodev.h.

◆ dev_private

void* dev_private

PMD-specific private data

Definition at line 901 of file rte_cryptodev.h.


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