DPDK 21.11.9
|
#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 |
Macros | |
#define | RTE_QDMA_BURST_NB_MAX 256 |
#define | RTE_QDMA_VQ_EXCLUSIVE_PQ (1ULL) |
#define | RTE_QDMA_JOB_SRC_PHY (1ULL) |
#define | RTE_QDMA_JOB_DEST_PHY (1ULL << 1) |
Enumerations | |
enum | { RTE_QDMA_MODE_HW , RTE_QDMA_MODE_VIRTUAL } |
enum | |
Functions | |
void | rte_qdma_vq_stats (struct rte_rawdev *rawdev, uint16_t vq_id, struct rte_qdma_vq_stats *vq_stats) |
NXP dpaa2 QDMA specific structures.
Definition in file rte_pmd_dpaa2_qdma.h.
#define RTE_QDMA_BURST_NB_MAX 256 |
Maximum qdma burst size
Definition at line 18 of file rte_pmd_dpaa2_qdma.h.
#define RTE_QDMA_VQ_EXCLUSIVE_PQ (1ULL) |
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.
#define RTE_QDMA_JOB_SRC_PHY (1ULL) |
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.
anonymous enum |
Determines the mode of operation
Definition at line 21 of file rte_pmd_dpaa2_qdma.h.
anonymous enum |
Determines the format of FD
Definition at line 39 of file rte_pmd_dpaa2_qdma.h.
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.
rawdev | Raw Device. |
vq_id | Virtual Queue ID. |
vq_stats | VQ statistics structure which will be filled in by the driver. |