X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcompress%2Fqat%2Fqat_comp_pmd.h;h=5c7fa9f0f378adcd8b93086431a457ccbdadf2e6;hb=391b8bcc81713d0da7e68eb39a64b00e69fc3543;hp=7ba1b8dc6e68631dffdbe10e7d84b39e491212fd;hpb=edd37ac10d88a57a06941afaf37e0c59b8dd2301;p=dpdk.git diff --git a/drivers/compress/qat/qat_comp_pmd.h b/drivers/compress/qat/qat_comp_pmd.h index 7ba1b8dc6e..5c7fa9f0f3 100644 --- a/drivers/compress/qat/qat_comp_pmd.h +++ b/drivers/compress/qat/qat_comp_pmd.h @@ -12,6 +12,9 @@ #include "qat_device.h" +/**< Intel(R) QAT Compression PMD driver name */ +#define COMPRESSDEV_NAME_QAT_PMD compress_qat + /** private data structure for a QAT compression device. * This QAT device is a device offering only a compression service, * there can be one of these on each qat_pci_device (VF). @@ -27,16 +30,17 @@ struct qat_comp_dev_private { /**< The device's memory for intermediate buffers */ struct rte_mempool *xformpool; /**< The device's pool for qat_comp_xforms */ - + struct rte_mempool *streampool; + /**< The device's pool for qat_comp_streams */ + uint16_t min_enq_burst_threshold; }; -uint16_t -qat_comp_pmd_enqueue_op_burst(void *qp, struct rte_comp_op **ops, - uint16_t nb_ops); +int +qat_comp_dev_create(struct qat_pci_device *qat_pci_dev, + struct qat_dev_cmd_param *qat_dev_cmd_param); -uint16_t -qat_comp_pmd_dequeue_op_burst(void *qp, struct rte_comp_op **ops, - uint16_t nb_ops); +int +qat_comp_dev_destroy(struct qat_pci_device *qat_pci_dev); #endif #endif /* _QAT_COMP_PMD_H_ */