doc: remove references to the old build system
[dpdk.git] / drivers / common / qat / qat_common.h
index b26aa26..2371508 100644 (file)
@@ -17,7 +17,9 @@
  */
 enum qat_device_gen {
        QAT_GEN1 = 1,
-       QAT_GEN2
+       QAT_GEN2,
+       QAT_GEN3,
+       QAT_GEN4
 };
 
 enum qat_service_type {
@@ -27,6 +29,14 @@ enum qat_service_type {
        QAT_SERVICE_INVALID
 };
 
+enum qat_svc_list {
+       QAT_SVC_UNUSED = 0,
+       QAT_SVC_CRYPTO = 1,
+       QAT_SVC_COMPRESSION = 2,
+       QAT_SVC_SYM = 3,
+       QAT_SVC_ASYM = 4,
+};
+
 #define QAT_MAX_SERVICES               (QAT_SERVICE_INVALID)
 
 /**< Common struct for scatter-gather list operations */
@@ -60,12 +70,15 @@ struct qat_common_stats {
        /**< Total error count on operations enqueued */
        uint64_t dequeue_err_count;
        /**< Total error count on operations dequeued */
+       uint64_t threshold_hit_count;
+       /**< Total number of times min qp threshold condition was fulfilled */
+
 };
 
 struct qat_pci_device;
 
 int
-qat_sgl_fill_array(struct rte_mbuf *buf, uint64_t buf_start,
+qat_sgl_fill_array(struct rte_mbuf *buf, int64_t offset,
                void *list_in, uint32_t data_len,
                const uint16_t max_segs);
 void