net/af_packet: advertise Tx offload capabilities
[dpdk.git] / drivers / raw / dpaa2_qdma / rte_pmd_dpaa2_qdma.h
index caf0293..4e1268c 100644 (file)
@@ -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;
 };
 
 /**
@@ -286,7 +295,7 @@ rte_qdma_vq_dequeue_multi(uint16_t vq_id,
  * @returns
  *   - A completed job or NULL if no job is there.
  */
-struct rte_qdma_job * __rte_experimental
+struct rte_qdma_job *
 rte_qdma_vq_dequeue(uint16_t vq_id);
 
 /**