5#ifndef RTE_PMD_DPAAX_QDMA_H
6#define RTE_PMD_DPAAX_QDMA_H
10#define RTE_DPAAX_QDMA_COPY_IDX_OFFSET 8
11#define RTE_DPAAX_QDMA_SG_IDX_ADDR_ALIGN \
12 RTE_BIT64(RTE_DPAAX_QDMA_COPY_IDX_OFFSET)
13#define RTE_DPAAX_QDMA_SG_IDX_ADDR_MASK \
14 (RTE_DPAAX_QDMA_SG_IDX_ADDR_ALIGN - 1)
15#define RTE_DPAAX_QDMA_SG_SUBMIT(idx_addr, flag) \
16 (((uint64_t)idx_addr) | (flag))
18#define RTE_DPAAX_QDMA_COPY_SUBMIT(idx, flag) \
19 ((idx << RTE_DPAAX_QDMA_COPY_IDX_OFFSET) | (flag))
21#define RTE_DPAAX_QDMA_JOB_SUBMIT_MAX 64
22#define RTE_DMA_CAPA_DPAAX_QDMA_FLAGS_INDEX RTE_BIT64(63)