DPDK  19.08.2
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 854 of file rte_cryptodev.h.

Field Documentation

uint8_t dev_id

Device ID for this instance

Definition at line 855 of file rte_cryptodev.h.

uint8_t socket_id

Socket ID where memory is allocated

Definition at line 857 of file rte_cryptodev.h.

Unique identifier name

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

struct rte_mempool* session_pool

Session memory pool

Definition at line 866 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 868 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 870 of file rte_cryptodev.h.

void* dev_private

PMD-specific private data

Definition at line 873 of file rte_cryptodev.h.


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