X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fqat%2Fqat_common.h;h=23715085f4035d84481494fb47a3576274e9d982;hb=90a2ec4ae81f2ef52f7c14bfc9307e75a4127fa4;hp=d4bef539ccfff4e3e74a26e61e7d7d483e4513c7;hpb=b30aa8911ce652497fcadf0d5c771a2de9ac21c9;p=dpdk.git diff --git a/drivers/common/qat/qat_common.h b/drivers/common/qat/qat_common.h index d4bef539cc..23715085f4 100644 --- a/drivers/common/qat/qat_common.h +++ b/drivers/common/qat/qat_common.h @@ -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,6 +70,9 @@ 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;