summaryrefslogtreecommitdiff
path: root/drivers/common
diff options
context:
space:
mode:
authorMurthy NSSR <nidadavolu.murthy@caviumnetworks.com>2018-10-09 14:37:42 +0530
committerAkhil Goyal <akhil.goyal@nxp.com>2018-10-17 12:20:06 +0200
commit0961348fdf52693e016f33a56e77e4383b8576f5 (patch)
treea9498e9ec1568782db18054ce3051826b8580837 /drivers/common
parent0906b99f3451e4b367c7e8024dee3ee297a0698c (diff)
downloaddpdk-next-eventdev-0961348fdf52693e016f33a56e77e4383b8576f5.zip
dpdk-next-eventdev-0961348fdf52693e016f33a56e77e4383b8576f5.tar.gz
dpdk-next-eventdev-0961348fdf52693e016f33a56e77e4383b8576f5.tar.xz
crypto/octeontx: add queue pair functions
Adding queue pair setup and release functions Signed-off-by: Ankur Dwivedi <ankur.dwivedi@caviumnetworks.com> Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Signed-off-by: Murthy NSSR <nidadavolu.murthy@caviumnetworks.com> Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com> Signed-off-by: Ragothaman Jayaraman <rjayaraman@caviumnetworks.com> Signed-off-by: Srisivasubramanian S <ssrinivasan@caviumnetworks.com> Signed-off-by: Tejasree Kondoj <kondoj.tejasree@caviumnetworks.com>
Diffstat (limited to 'drivers/common')
-rw-r--r--drivers/common/cpt/cpt_common.h3
-rw-r--r--drivers/common/cpt/cpt_hw_types.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/common/cpt/cpt_common.h b/drivers/common/cpt/cpt_common.h
index 88f4902..7333c13 100644
--- a/drivers/common/cpt/cpt_common.h
+++ b/drivers/common/cpt/cpt_common.h
@@ -15,6 +15,9 @@
*/
#define CRYPTO_OCTEONTX 0x1
+#define CPT_COUNT_THOLD 32
+#define CPT_TIMER_THOLD 0x3F
+
#define AE_TYPE 1
#define SE_TYPE 2
diff --git a/drivers/common/cpt/cpt_hw_types.h b/drivers/common/cpt/cpt_hw_types.h
index 0a98621..cff59c7 100644
--- a/drivers/common/cpt/cpt_hw_types.h
+++ b/drivers/common/cpt/cpt_hw_types.h
@@ -20,6 +20,9 @@
#define CPT_VF_INTR_HWERR_MASK (1<<5)
#define CPT_VF_INTR_FAULT_MASK (1<<6)
+#define CPT_INST_SIZE (64)
+#define CPT_NEXT_CHUNK_PTR_SIZE (8)
+
/*
* CPT_INST_S software command definitions
* Words EI (0-3)