X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fqat%2Fqat_common.h;h=cf840fea9b40f5a02d6ee4b7c981f5216102416a;hb=cd414f81d1afdabf5cf13a1d9e859877af176ab9;hp=b26aa265e9d6ec438144ce3978f920b342bace68;hpb=944027acd48e59611c88d2ce76d7c7286cd6c9d3;p=dpdk.git diff --git a/drivers/common/qat/qat_common.h b/drivers/common/qat/qat_common.h index b26aa265e9..cf840fea9b 100644 --- a/drivers/common/qat/qat_common.h +++ b/drivers/common/qat/qat_common.h @@ -17,7 +17,8 @@ */ enum qat_device_gen { QAT_GEN1 = 1, - QAT_GEN2 + QAT_GEN2, + QAT_GEN3 }; enum qat_service_type { @@ -60,12 +61,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