From: Vidya Sagar Velumuri Date: Sun, 8 May 2022 07:48:14 +0000 (+0530) Subject: common/cnxk: add new PKIND for CPT when ts is enabled X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=76aa8098ff74389b75cf025267b4daee6fe70d90;p=dpdk.git common/cnxk: add new PKIND for CPT when ts is enabled With timestamp enabled, time stamp will be added to second pass packets from CPT. NPC needs different configuration to parse second pass packets with and without timestamp. New PKIND is defined for CPT when time stamp is enabled on NIX. CPT should use this PKIND for second pass packets when TS is enabled for corresponding ethdev port. Signed-off-by: Vidya Sagar Velumuri Acked-by: Jerin Jacob --- diff --git a/drivers/common/cnxk/roc_ie_ot.h b/drivers/common/cnxk/roc_ie_ot.h index 173cc2c667..56a1e9f1d6 100644 --- a/drivers/common/cnxk/roc_ie_ot.h +++ b/drivers/common/cnxk/roc_ie_ot.h @@ -15,6 +15,7 @@ #define ROC_IE_OT_CTX_ILEN 2 /* PKIND to be used for CPT Meta parsing */ #define ROC_IE_OT_CPT_PKIND 58 +#define ROC_IE_OT_CPT_TS_PKIND 54 #define ROC_IE_OT_SA_CTX_HDR_SIZE 1 enum roc_ie_ot_ucc_ipsec {