DPDK  19.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 841 of file rte_cryptodev.h.

Field Documentation

uint8_t dev_id

Device ID for this instance

Definition at line 843 of file rte_cryptodev.h.

uint8_t socket_id

Socket ID where memory is allocated

Definition at line 845 of file rte_cryptodev.h.

Unique identifier name

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

struct rte_mempool* session_pool

Session memory pool

Definition at line 853 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 856 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 858 of file rte_cryptodev.h.

void* dev_private

PMD-specific private data

Definition at line 861 of file rte_cryptodev.h.


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