git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: add workarounds for Windows helloworld
[dpdk.git]
/
drivers
/
common
/
qat
/
qat_device.h
diff --git
a/drivers/common/qat/qat_device.h
b/drivers/common/qat/qat_device.h
index
3a71cd4
..
eb81c78
100644
(file)
--- a/
drivers/common/qat/qat_device.h
+++ b/
drivers/common/qat/qat_device.h
@@
-16,6
+16,12
@@
#define QAT_DEV_NAME_MAX_LEN 64
#define QAT_DEV_NAME_MAX_LEN 64
+enum qat_comp_num_im_buffers {
+ QAT_NUM_INTERM_BUFS_GEN1 = 12,
+ QAT_NUM_INTERM_BUFS_GEN2 = 20,
+ QAT_NUM_INTERM_BUFS_GEN3 = 20
+};
+
/*
* This struct holds all the data about a QAT pci device
* including data about all services it supports.
/*
* This struct holds all the data about a QAT pci device
* including data about all services it supports.
@@
-72,6
+78,7
@@
struct qat_pci_device {
struct qat_gen_hw_data {
enum qat_device_gen dev_gen;
const struct qat_qp_hw_data (*qp_hw_data)[ADF_MAX_QPS_ON_ANY_SERVICE];
struct qat_gen_hw_data {
enum qat_device_gen dev_gen;
const struct qat_qp_hw_data (*qp_hw_data)[ADF_MAX_QPS_ON_ANY_SERVICE];
+ enum qat_comp_num_im_buffers comp_num_im_bufs_required;
};
extern struct qat_gen_hw_data qat_gen_config[];
};
extern struct qat_gen_hw_data qat_gen_config[];