X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fraw%2Fdpaa2_qdma%2Frte_pmd_dpaa2_qdma.h;h=4e1268cc55be37000b32c797d0304cbb3700f1f8;hb=b94d93ca7380328d07547addfe93a5c83e48a889;hp=a1f9050358b9eafe966482d9cad2f3c2e04d1429;hpb=da6cab76468bd7f510bd8e39007a47ac5c4b532d;p=dpdk.git diff --git a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h index a1f9050358..4e1268cc55 100644 --- a/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h +++ b/drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h @@ -33,6 +33,12 @@ enum { RTE_QDMA_MODE_VIRTUAL }; +/** Determines the format of FD */ +enum { + RTE_QDMA_LONG_FORMAT, + RTE_QDMA_ULTRASHORT_FORMAT, +}; + /** * If user has configured a Virtual Queue mode, but for some particular VQ * user needs an exclusive H/W queue associated (for better performance @@ -62,6 +68,8 @@ struct rte_qdma_config { uint16_t max_vqs; /** mode of operation - physical(h/w) or virtual */ uint8_t mode; + /** FD format */ + uint8_t format; /** * User provides this as input to the driver as a size of the FLE pool. * FLE's (and corresponding source/destination descriptors) are @@ -143,6 +151,7 @@ struct rte_qdma_job { * lower 8bits fd error */ uint16_t status; + uint16_t vq_id; }; /**