5 #ifndef __RTE_PMD_DPAA2_QDMA_H__
6 #define __RTE_PMD_DPAA2_QDMA_H__
16 #define RTE_QDMA_BURST_NB_MAX 256
39 RTE_QDMA_ULTRASHORT_FORMAT,
49 #define RTE_QDMA_VQ_EXCLUSIVE_PQ (1ULL)
52 #define RTE_QDMA_JOB_SRC_PHY (1ULL)
55 #define RTE_QDMA_JOB_DEST_PHY (1ULL << 1)
85 uint32_t use_ultrashort:1;
125 uint64_t num_enqueues;
127 uint64_t num_dequeues;
129 uint64_t num_pending_jobs;
227 rte_qdma_vq_create_rbp(uint32_t lcore_id, uint32_t flags,
228 struct rte_qdma_rbp *rbp);
int rte_qdma_configure(struct rte_qdma_config *qdma_config)
struct rte_qdma_job * rte_qdma_vq_dequeue(uint16_t vq_id)
int rte_qdma_vq_enqueue(uint16_t vq_id, struct rte_qdma_job *job)
void rte_qdma_destroy(void)
void rte_qdma_vq_stats(uint16_t vq_id, struct rte_qdma_vq_stats *vq_stats)
int rte_qdma_vq_dequeue_multi(uint16_t vq_id, struct rte_qdma_job **job, uint16_t nb_jobs)
int rte_qdma_vq_create(uint32_t lcore_id, uint32_t flags)
int rte_qdma_vq_destroy_rbp(uint16_t vq_id)
void rte_qdma_attr_get(struct rte_qdma_attr *qdma_attr)
uint8_t exclusive_hw_queue
uint16_t max_hw_queues_per_core
int rte_qdma_vq_enqueue_multi(uint16_t vq_id, struct rte_qdma_job **job, uint16_t nb_jobs)
int rte_qdma_vq_destroy(uint16_t vq_id)