From: Murthy NSSR <[email protected]> Adding common macros required by queue pair op functions.
Signed-off-by: Ankur Dwivedi <[email protected]> Signed-off-by: Anoob Joseph <[email protected]> Signed-off-by: Murthy NSSR <[email protected]> Signed-off-by: Nithin Dabilpuram <[email protected]> Signed-off-by: Ragothaman Jayaraman <[email protected]> Signed-off-by: Srisivasubramanian S <[email protected]> Signed-off-by: Tejasree Kondoj <[email protected]> --- drivers/common/cpt/cpt_common.h | 3 +++ drivers/common/cpt/cpt_hw_types.h | 3 +++ 2 files changed, 6 insertions(+) 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) -- 2.7.4

