From 76aa8098ff74389b75cf025267b4daee6fe70d90 Mon Sep 17 00:00:00 2001 From: Vidya Sagar Velumuri Date: Sun, 8 May 2022 13:18:14 +0530 Subject: [PATCH] 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 --- drivers/common/cnxk/roc_ie_ot.h | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.20.1