DPDK  22.03.0
Data Fields
rte_compressdev_data Struct Reference

#include <rte_compressdev_internal.h>

Data Fields

uint8_t dev_id
 
int socket_id
 
char name [RTE_COMPRESSDEV_NAME_MAX_LEN]
 
__extension__ uint8_t dev_started: 1
 
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 98 of file rte_compressdev_internal.h.

Field Documentation

◆ dev_id

uint8_t dev_id

Compress device identifier

Definition at line 99 of file rte_compressdev_internal.h.

◆ socket_id

int socket_id

Socket identifier where memory is allocated

Definition at line 101 of file rte_compressdev_internal.h.

◆ name

char name[RTE_COMPRESSDEV_NAME_MAX_LEN]

Unique identifier name

Definition at line 103 of file rte_compressdev_internal.h.

◆ dev_started

__extension__ uint8_t dev_started

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

Definition at line 107 of file rte_compressdev_internal.h.

◆ queue_pairs

void** queue_pairs

Array of pointers to queue pairs.

Definition at line 110 of file rte_compressdev_internal.h.

◆ nb_queue_pairs

uint16_t nb_queue_pairs

Number of device queue pairs

Definition at line 112 of file rte_compressdev_internal.h.

◆ dev_private

void* dev_private

PMD-specific private data

Definition at line 115 of file rte_compressdev_internal.h.


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