From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07DD9A054E; Sat, 15 Feb 2020 15:12:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4AA21F72; Sat, 15 Feb 2020 15:12:52 +0100 (CET) Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by dpdk.org (Postfix) with ESMTP id 5ADEA374; Sat, 15 Feb 2020 15:12:51 +0100 (CET) Received: by mail-il1-f194.google.com with SMTP id f5so10538919ilq.5; Sat, 15 Feb 2020 06:12:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gS5TrfXT4hm/rJlkJPSmDYyC6fI/NlQSM8nSO5QI1lM=; b=SJEzkvV6PkFZVeMch6LZPCNzrVXlgnBmzUAegLlHGVvEvkpCMejGqyA/LOynjojAlC LSnWzXQz4o3VNcqeN/aQeGUiZkmuPOTowJNRMqfmBkWIpRdqPsPqWDare84aDJR3YAyW oAMPEgZUdsP+jIbXzG1CmVsj8z1AZp3dmHo/DNsYdbUDGLTCFPps03d/cCdSpxd0fH+w 5Nd0leSlLE8bQcNbGiYHvCz8v7kKeLXt7bcjGn33AGL5KzHGEhmzzuR1Mic9U0po89// xNIjcCj/0/87SLUMvyngInpR52wiOhbtQNE2KMeNbKgan8NUmFV/IlC28s0aBlsDucTV KQcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gS5TrfXT4hm/rJlkJPSmDYyC6fI/NlQSM8nSO5QI1lM=; b=hfmAtaHGDNglQTryy3jsWjeDsdE6Cb97J6VoMYsFIlMFQY7tJ4ESpSVu6XPvWhF7FT LZK/6Pa3gkiZicibUtZICDpzI0VqDt60AoGq01jd42LP1JC8sz22U/Rz/luvyPu77UPq U93Ld1VE8S05NK0hAmpJaab1v2Vjb47edkXBgq/H48j0cXPwxfAEWqdN8cbTcAFHG0YZ MSyV0gcGJSrar6hjHhQlrtzBky0zowphtq5BMyIPfPflkePt9a5CiH6BDfNTk13R0nzv dzyz99DdxAun+9VF/GeVHP0ff0zaApEPbOQqzkDBCQ0k/JHQNo/zC609HucUArYHZkx1 bEVw== X-Gm-Message-State: APjAAAUJcqhQIlW61FnjikBpNKpi0yx3RUQgURmZ6LwKbvqRPNiSoFPB VJH9Os9YDPHIsFF/0TVMv+gjMnaiDmlf1AnoESo= X-Google-Smtp-Source: APXvYqzog4rTQUGJjRnoocug9SAdqt35TpyexZKUawVUm3JyxihSHpvydI0YUDHDtBNjdjI0y5RLKzLe6Ml35RCZkf8= X-Received: by 2002:a92:c747:: with SMTP id y7mr7032257ilp.60.1581775970639; Sat, 15 Feb 2020 06:12:50 -0800 (PST) MIME-Version: 1.0 References: <1581755704-15546-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1581755704-15546-1-git-send-email-hkalra@marvell.com> From: Jerin Jacob Date: Sat, 15 Feb 2020 19:42:34 +0530 Message-ID: To: Harman Kalra , Ferruh Yigit Cc: Jerin Jacob , Nithin Dabilpuram , Vamsi Attunuru , dpdk-dev , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] net/octeontx2: fix ptp functionality X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, Feb 15, 2020 at 2:05 PM Harman Kalra wrote: > > 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. > > Fixes: b5dc3140448e ("net/octeontx2: support base PTP") > Cc: stable@dpdk.org > > Signed-off-by: Harman Kalra Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/master. Thanks > --- > drivers/common/octeontx2/hw/otx2_npc.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/common/octeontx2/hw/otx2_npc.h b/drivers/common/octeontx2/hw/otx2_npc.h > index a0536e0ae..3dfc137a3 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, > }; > > -- > 2.18.0 >