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 D0431A0553; Mon, 17 Feb 2020 15:35:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0AF31DAA0; Mon, 17 Feb 2020 15:35:26 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 4E8CA1DA9E; Mon, 17 Feb 2020 15:35:25 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01HEUtTV014982; Mon, 17 Feb 2020 06:35:24 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0818; bh=VH87sXfkZOy0Opt0R8JxRsvWf+eWq2i9URdQgVoBC/M=; b=StxbD3ZHbTTScmHHY444eoMK4b4VpUy8YLsd7NNf+Hft1f6j+31wOVg3j3KK54bLXkcZ 8opi6WdiOtZKotwh2cPqNCl1CVqvhj3MadAc6pypLXzzA+f99mPsuGa299XFgKD1Nqkc JVVSG9HTrogH9I9TDcNOWdvNGVnvIao41sRLQ6/AFy4VLr5trxCv4Dh9zQrW/+i5jjHw WkoVuSzMbVbYK+Nsid2lrrr5kaOvwPWgaAcoJBBnrph4TSc/84LjTDocT+wwb7MMlReX 2A2/f1n7KOFA9YeiUmwKnpKwkMWtSoKhE3ntLKJNHJ8olXDLvBndHT4FRF5I7yOwzkQ4 9w== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2y6h1syapj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 17 Feb 2020 06:35:24 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Feb 2020 06:35:22 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Feb 2020 06:35:21 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 17 Feb 2020 06:35:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AR8lsKzEzH/vcAYrNNWQlu+9QSBFa9TqAP/wyqhjXKJx5brAqODC4NuI/vdYrJ3QvPrwiRB3DWopFIBEQX4Edo5rwkHKd3d/cNl+BLd1Tmun8rHxdaT6vz7o/Z9vD5M/Lm7+fIGn+6nLC1pzG7gOpXYiSl4oQWNB5hCUkCfcrlrn2FE3V9SVeap5/1kUIBQ9auaPh1ASwwovCh123P3m1qUzUbHMV8SmFjlWSV+XHh6+61CjmWPg3oVP7G6ssijD8KIxRj3/Dl78a6CWI+lV5+RnWhS43Mfbz2H4Hn0P0b8pH1cOZ5MnZdgoDifdnwDF3ccVDBoa6TxkBoQ7d5ofcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VH87sXfkZOy0Opt0R8JxRsvWf+eWq2i9URdQgVoBC/M=; b=LuoJrR9itmhzcDcIcvWtzyf3eBs16pB7F6fdiSYjtdVx/1xtuShhljMJLYH55iJ+WCCKHt8GUK8ipPcmSAZAXrcAPa6cm049ktQ/nPjw4Vj/VI4MRS3RqcxRutFmkjP8o/CO1LyzRfWJQ3xJOKDi4uHY4yJWnAnOG2UuCOXa0qZDRjAukKoKw6+rzIy50CDlKX75YH2t5B3EpGs09q4pOlQyU8Bu1jk50YubkjAwu93t6bIFLgaayA/25GQ/hIoikHVbz5UD/+pBstY3V+yyyEDAEf39VGJ5ckRBbgZrY3S+29V3h3Feos7l0lEgP8KowkykU8U3oz4lv28vpuGQtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VH87sXfkZOy0Opt0R8JxRsvWf+eWq2i9URdQgVoBC/M=; b=VYvadDbgPXi0rW7wbPJK8ndMgFYNo+SgV4v+6rT+N9893wA/Dq7F6ObZm7vQjlk9aP/JdtKoP7WTJALg+WAywCQoq9Yi+g67F1XnPUyeMOfZJZeWmAIwKiDasPewDk0Ly94ILWWCKx3KHc6vyNWoGnUXSBaJ2dBOBA+7kvgFLBY= Received: from MN2PR18MB2848.namprd18.prod.outlook.com (20.179.20.19) by MN2PR18MB3008.namprd18.prod.outlook.com (20.179.84.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.24; Mon, 17 Feb 2020 14:35:20 +0000 Received: from MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::6de0:6ead:9fc:5beb]) by MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::6de0:6ead:9fc:5beb%3]) with mapi id 15.20.2729.032; Mon, 17 Feb 2020 14:35:20 +0000 Date: Mon, 17 Feb 2020 20:05:05 +0530 From: Harman Kalra To: Ferruh Yigit CC: Jerin Jacob , Vamsi Attunuru , , Message-ID: <20200217143437.GA23753@outlook.office365.com> References: <1581755704-15546-1-git-send-email-hkalra@marvell.com> <194bbbb5-7af3-2bb8-ef0b-e2a571a58efe@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <194bbbb5-7af3-2bb8-ef0b-e2a571a58efe@intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-ClientProxiedBy: BM1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::17) To MN2PR18MB2848.namprd18.prod.outlook.com (2603:10b6:208:38::19) MIME-Version: 1.0 Received: from outlook.office365.com (115.113.156.2) by BM1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25 via Frontend Transport; Mon, 17 Feb 2020 14:35:18 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9b469688-1e03-4717-8d27-08d7b3b69d1b X-MS-TrafficTypeDiagnostic: MN2PR18MB3008: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 0316567485 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(366004)(136003)(376002)(199004)(189003)(52116002)(4326008)(86362001)(1076003)(8936002)(33656002)(478600001)(53546011)(6666004)(2906002)(6506007)(956004)(7696005)(54906003)(55236004)(26005)(6916009)(316002)(186003)(66556008)(16526019)(81156014)(55016002)(81166006)(66946007)(9686003)(5660300002)(8676002)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB3008; H:MN2PR18MB2848.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UCBpAkZX28DwZEMVCl86+mrRye/POkyvDP7C/ZJXrR+Q3lubq36YwOq9UH0I0Ykc6iscdCxx1J0bYUYmZXuKzlUbOeLB7SEqHPcnSALVL5tt0551SsWNA2u8y82IDz9k1UJQoDxgHlwi29KN/9qTs0qFjrPJq7hivr9p7UnAbHf/1w7urnOamaIw3zKiWZmsu1Dg7rE7AD7rJuHoiXkxFiLuzqyxJbNhm2hXVSQ4vdz4fDvguIldiazzxLFHE6y+b4M9QCb2OnNCybgdrXWcIzMcubPQzwsj0ecp+uFaNjA2jR3XzNW2UaFoKaZgyazekzFdA0PTy7KAR+GKuyBreqa3Aw3goilxsuJ9IHX2PpsJfK89uzVhxgN6kdjJ3i4NMpQ+xqtzXMXf8r4dOU5kRW96k0y4MbnVpMwdoDut1uYkj1dMvSZv6u5WMpRFHGfC X-MS-Exchange-AntiSpam-MessageData: qBDo0LpIN5huaW4yHASUF9g/8kjJSbp/0C0QAo5wfLXzoS1onQ5KzyacGYp5lkAQuuaSQnq71tmppzgj3u66kS6ACdWNpTvuvOZZJWJwhQQbHsFIlbtYiABATRVe9YSlzhEW6+XRnWq1QWLgF1qDuA== X-MS-Exchange-CrossTenant-Network-Message-Id: 9b469688-1e03-4717-8d27-08d7b3b69d1b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2020 14:35:19.9371 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mI9jEPGnMxJpn2eeL34Zw56V0QXzvE3tYQJUCC6gvp8kudCsx50SMvDRbaa3DsBHHYB/QKbYy/yc5KwWHomRWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3008 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-17_08:2020-02-17, 2020-02-17 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [dpdk-stable] [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 Mon, Feb 17, 2020 at 01:21:13PM +0000, Ferruh Yigit wrote: > External Email > > ---------------------------------------------------------------------- > On 2/15/2020 8:35 AM, 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. > > Hi Harman, > > Can you please provide references for, > - What is the kernel commit causing the mentioned change? > - After this change which version of the kernel supported by the PMD? Hi Ferruh The kernel change I was refering to was in our internel kernel repo and those kernel changes have not been upstreamed yet. Currently its part of our marvell SDK version SDK-10.3.1.x. Thanks Harman > > > > > Fixes: b5dc3140448e ("net/octeontx2: support base PTP") > > Cc: stable@dpdk.org > > > > Signed-off-by: Harman Kalra > > --- > > 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, > > }; > > > > >