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 <vvelumuri@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
This commit is contained in:
Vidya Sagar Velumuri 2022-05-08 13:18:14 +05:30 committed by Jerin Jacob
parent ff1400aa9d
commit 76aa8098ff

View File

@ -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 {