From: Harman Kalra Date: Sat, 15 Feb 2020 08:35:03 +0000 (+0530) Subject: net/octeontx2: fix PTP X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=93a9afdb4b10f02aa06b8e58ffa403e10bc32bba;p=dpdk.git net/octeontx2: fix PTP PTP functionality has been broken after a change in kernel where enum npc_kpu_lc_ltype is change to allow adjustment of LTYPE_MASK to detect all types of IP headers. Syncing the required changes in DPDK to fix the issue. The kernel side changes available in marvell SDK version SDK-10.3.2.x. Fixes: b5dc3140448e ("net/octeontx2: support base PTP") Cc: stable@dpdk.org Signed-off-by: Harman Kalra Acked-by: Jerin Jacob --- diff --git a/drivers/common/octeontx2/hw/otx2_npc.h b/drivers/common/octeontx2/hw/otx2_npc.h index a0536e0aed..3dfc137a30 100644 --- a/drivers/common/octeontx2/hw/otx2_npc.h +++ b/drivers/common/octeontx2/hw/otx2_npc.h @@ -201,7 +201,8 @@ enum npc_kpu_lb_ltype { }; enum npc_kpu_lc_ltype { - NPC_LT_LC_IP = 1, + NPC_LT_LC_PTP = 1, + NPC_LT_LC_IP, NPC_LT_LC_IP_OPT, NPC_LT_LC_IP6, NPC_LT_LC_IP6_EXT, @@ -209,7 +210,6 @@ enum npc_kpu_lc_ltype { NPC_LT_LC_RARP, NPC_LT_LC_MPLS, NPC_LT_LC_NSH, - NPC_LT_LC_PTP, NPC_LT_LC_FCOE, };