]> git.droids-corp.org - dpdk.git/blobdiff - drivers/compress/isal/isal_compress_pmd_private.h
compress/isal: add basic PMD ops
[dpdk.git] / drivers / compress / isal / isal_compress_pmd_private.h
index 09ecfb730c4c2960584a6722ba024825bf95dce5..efbe68b992636d4a66d9a1edf3883bdb7f08b71b 100644 (file)
@@ -18,6 +18,18 @@ struct isal_comp_private {
        struct rte_mempool *priv_xform_mp;
 };
 
+/** ISA-L queue pair */
+struct isal_comp_qp {
+       /* Queue Pair Identifier */
+       uint16_t id;
+       /* Unique Queue Pair Name */
+       char name[RTE_COMPRESSDEV_NAME_MAX_LEN];
+       /* Queue pair statistics */
+       struct rte_compressdev_stats qp_stats;
+       /* Number of free elements on ring */
+       uint16_t num_free_elements;
+} __rte_cache_aligned;
+
 /** device specific operations function pointer structure */
 extern struct rte_compressdev_ops *isal_compress_pmd_ops;