DPDK  20.11.10
Data Structures | Macros | Enumerations | Functions
rte_pmd_dpaa2_qdma.h File Reference
#include <rte_rawdev.h>

Go to the source code of this file.

Data Structures

struct  rte_qdma_attr
struct  rte_qdma_config
struct  rte_qdma_vq_stats
struct  rte_qdma_job


#define RTE_QDMA_BURST_NB_MAX   256
#define RTE_QDMA_JOB_DEST_PHY   (1ULL << 1)




void rte_qdma_vq_stats (struct rte_rawdev *rawdev, uint16_t vq_id, struct rte_qdma_vq_stats *vq_stats)

Detailed Description

NXP dpaa2 QDMA specific structures.

Definition in file rte_pmd_dpaa2_qdma.h.

Macro Definition Documentation


#define RTE_QDMA_BURST_NB_MAX   256

Maximum qdma burst size

Definition at line 18 of file rte_pmd_dpaa2_qdma.h.



If user has configured a Virtual Queue mode, but for some particular VQ user needs an exclusive H/W queue associated (for better performance on that particular VQ), then user can pass this flag while creating the Virtual Queue. A H/W queue will be allocated corresponding to VQ which uses this flag.

Definition at line 51 of file rte_pmd_dpaa2_qdma.h.



States if the source addresses is physical.

Definition at line 60 of file rte_pmd_dpaa2_qdma.h.


#define RTE_QDMA_JOB_DEST_PHY   (1ULL << 1)

States if the destination addresses is physical.

Definition at line 63 of file rte_pmd_dpaa2_qdma.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Determines the mode of operation


Allocate a H/W queue per VQ i.e. Exclusive hardware queue for a VQ. This mode will have best performance.


A VQ shall not have an exclusive associated H/W queue. Rather a H/W Queue will be shared by multiple Virtual Queues. This mode will have intermediate data structures to support multi VQ to PQ mappings thus having some performance implications. Note: Even in this mode there is an option to allocate a H/W queue for a VQ. Please see 'RTE_QDMA_VQ_EXCLUSIVE_PQ' flag.

Definition at line 21 of file rte_pmd_dpaa2_qdma.h.

◆ anonymous enum

anonymous enum

Determines the format of FD

Definition at line 39 of file rte_pmd_dpaa2_qdma.h.

Function Documentation

◆ rte_qdma_vq_stats()

void rte_qdma_vq_stats ( struct rte_rawdev *  rawdev,
uint16_t  vq_id,
struct rte_qdma_vq_stats vq_stats 

Get a Virtual Queue statistics.

rawdevRaw Device.
vq_idVirtual Queue ID.
vq_statsVQ statistics structure which will be filled in by the driver.