RTE_QDMA_MODE_VIRTUAL
};
+/** Determines the format of FD */
+enum {
+ RTE_QDMA_LONG_FORMAT,
+ RTE_QDMA_ULTRASHORT_FORMAT,
+};
+
/**
- * If user has configued a Virtual Queue mode, but for some particular VQ
+ * 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
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
* lower 8bits fd error
*/
uint16_t status;
+ 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);
/**
* VQ's at runtime.
*
* @param vq_id
- * Virtual Queue ID which needs to be deinialized.
+ * Virtual Queue ID which needs to be uninitialized.
*
* @returns
* - 0: Success.
* VQ's at runtime.
*
* @param vq_id
- * RBP based Virtual Queue ID which needs to be deinialized.
+ * RBP based Virtual Queue ID which needs to be uninitialized.
*
* @returns
* - 0: Success.
* - <0: Error code.
*/
-int __rte_experimental
+int
rte_qdma_vq_destroy_rbp(uint16_t vq_id);
/**
* Stop QDMA device.