From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5093EA0A0E for ; Mon, 10 May 2021 18:12:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 474C840F35; Mon, 10 May 2021 18:12:00 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2063.outbound.protection.outlook.com [40.107.236.63]) by mails.dpdk.org (Postfix) with ESMTP id A88FC40140 for ; Mon, 10 May 2021 18:11:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XWAj9x8RbMB/I4mjhX8Vblf/VAU5Gu7+ybvdP0xaEQuH0DO0j1Y1+epfKlboGINfoDb22srkCjYGEDLObCbd5v67zsynoiJvPCLcL1Fs6bGzH+p8RHs2oTigXvxcgFduQVlKiaSGucnB01Ip7CB4Wso1coYv1XaKsFVx/MiQiI0iZlsF/aEYgCsvjsfBtJiOYOXClvpdk3ihf5P20lEgb9z7VScnKz1ZGpj540vOZkRujz9/J0SHyUV1Wa6/TBfnfM5Ik823emm0ZgqeO6augFd/viQDyWavOG60Jb/s19MDXxLddVLgrtRuH+FfhxdJF+Pp2IvurbFUlnAOLMusYg== 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=WiYLImcp84usVqTdbff43U9xLxzbkcxP9tyY7xn8Yjc=; b=eooZoaMor+C+LSXHsWL9afE4qmFXClDQckDickm9Mo5k9bJTe4o6RnWPEVC0Th6PS6eajRhX0w4Hbsx1HQMNpSCjXljnnp1SldjLapd4qtUMQAvRIzNXLYquZsYDhZeER/9BHTFvUBefjCuji/W41GgWbosKTfqPxxUbBMXMsI0rOY++hNNNSnefRk84CyqMsKxoudwsyQo8oySylcQkkMBs/4FQZY9McOJg/waQdv1htB5L4mAcRJx9VYW44JUrs7mfhs2f9mboycK6iUmC7tOBeM0QT1w3h9di2l0kxN7w4vDkFj6Ubbg6iGklOI8U8rcvsk1ovrcRiK2Y6BV6xg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=broadcom.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WiYLImcp84usVqTdbff43U9xLxzbkcxP9tyY7xn8Yjc=; b=LuqHRmqnYHtjXPI2y36o3mF/33ggO+Nx68/CoJ76e9dA7f+v8IfvSSuFgXfho/vyOcdGdXscVeLwc3fqhXrYO9v/izs6g7nhCFfwgfQp/rpU+WN9H4b08PxfbArq9oEbJcYVReasOpXp9fcJfQjsbr0Ju05pCTL2KOIB6e4zN6+gSsetY9foEuTe4+MJRls4iQPSlEmHjuftFbsgmw5piL6vozcZ+56OWR/6bviiBhEGSepLRFRc7N+DKATHKlv/aT96w0Od9X6fMKlmdpJmpO5H1/9sy663k3crNyRPLin45f1btchWqg6s8Bat4nYuq57CjCha8tSXa+qu2/mt+A== Received: from MW4PR03CA0038.namprd03.prod.outlook.com (2603:10b6:303:8e::13) by MW3PR12MB4539.namprd12.prod.outlook.com (2603:10b6:303:59::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Mon, 10 May 2021 16:11:57 +0000 Received: from CO1NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::32) by MW4PR03CA0038.outlook.office365.com (2603:10b6:303:8e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:11:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT059.mail.protection.outlook.com (10.13.174.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:11:57 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:11:50 +0000 From: Xueming Li To: Somnath Kotur CC: Luca Boccassi , Kalesh AP , Lance Richardson , Ajit Khaparde , dpdk stable Date: Tue, 11 May 2021 00:00:36 +0800 Message-ID: <20210510160258.30982-87-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5eff9a45-05eb-40a1-7f04-08d913ce55bd X-MS-TrafficTypeDiagnostic: MW3PR12MB4539: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I1XBwjdn1/ew4dkfW9cY8F3F6LHvUefx1e3pxrXzyZa01boj1tUEFLOGr5BFlypunvMbEr/4Ii7jkPXWzLdDwHrj8YOq1VaHh3Ppfk+SfcGJ8yHrv1MPmmU5jjTjR80J5SyfbuEHnSyJjL6017ewjxNaKL5hP0VMZsneN3l+ZImv/scgd+eknLC97KdSn27y8iSGdYQnJeBbEEIFEVju0lbWcuqI7f+m70Rgm0DiXq22PGaYFGzoBkUyGGopffY9yriyPmocU6XJ6MCtlYt3AnIE3AApOMep8/Z0hMDwdJ2Edk2vUaE9d7yU+boXDyAwLs38CTtnzzyeZ/e5Fuwl6DrYtr9fdNVnGUaqRfK/cDvLKBvhARlfH5wAFTi2qLVirB34swqKFFWZlY7UI5/5c/Uf38zfUTz7wI1lD2CoGt69LdMQaGRqFyaqdy6c/4jcCbwIgwo66hXhboar2wM8c+fV2w4NvaYNu06AtrgjuNjAOV4cu5o/uoZk6iXwfSFjoN2LcdlEp6kt7g5Bhqdvu/BdudCPULnodKVHAnxh+omdp4wRH07EVH4jkogySr+qINVecZC5YEIUiEDiuwGJ8FB6h62ucc4kUgC6PZH18TwYMKYzcq9ommUe/pLvtQt762qCOwgSPUbeRQA2FTSnxwaZY9GGvcpSrfHsPGM1SERY2Za9t1xxkFX0NYaNnqyhpnSnVK9cJvwRN5M2W6TSQ0k4XHb77EG0+J79+2H12T8DiQkLp0uXI68cRUn/yn1fPPL0pJz7aQkTjGoDWy0uhg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(396003)(376002)(36840700001)(46966006)(55016002)(36756003)(8676002)(316002)(36906005)(478600001)(5660300002)(70206006)(2906002)(54906003)(8936002)(82310400003)(86362001)(70586007)(53546011)(356005)(7636003)(426003)(36860700001)(6286002)(82740400003)(4326008)(6666004)(966005)(16526019)(26005)(336012)(186003)(6916009)(7696005)(47076005)(2616005)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:11:57.1269 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5eff9a45-05eb-40a1-7f04-08d913ce55bd X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4539 Subject: [dpdk-stable] patch 'net/bnxt: fix Tx timestamp init' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/2b68ea0468f2d983ebdd9563b2fb846ae343c5c0 Thanks. Xueming Li --- >From 2b68ea0468f2d983ebdd9563b2fb846ae343c5c0 Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Tue, 16 Mar 2021 11:10:48 +0530 Subject: [PATCH] net/bnxt: fix Tx timestamp init Cc: Luca Boccassi [ upstream commit aa764bae8d66856caad976c5e7d4b415c3158179 ] Fix to read the sequence ID register to get Tx timestamp. Reading the sequence ID register is necessary for the HW FIFO to advance and thereby get the correct value of the timestamp on Tx side. This patch fixes that. Fixes: b11cceb83a34 ("net/bnxt: support timesync") Reviewed-by: Kalesh AP Reviewed-by: Lance Richardson Reviewed-by: Ajit Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 9252352416..780bbe72da 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -3176,6 +3176,7 @@ static int bnxt_get_tx_ts(struct bnxt *bp, uint64_t *ts) ptp->tx_mapped_regs[BNXT_PTP_TX_TS_L])); *ts |= (uint64_t)rte_le_to_cpu_32(rte_read32((uint8_t *)bp->bar0 + ptp->tx_mapped_regs[BNXT_PTP_TX_TS_H])) << 32; + rte_read32((uint8_t *)bp->bar0 + ptp->tx_mapped_regs[BNXT_PTP_TX_SEQ]); return 0; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:28.874008500 +0800 +++ 0088-net-bnxt-fix-Tx-timestamp-init.patch 2021-05-10 23:59:26.450000000 +0800 @@ -1 +1 @@ -From aa764bae8d66856caad976c5e7d4b415c3158179 Mon Sep 17 00:00:00 2001 +From 2b68ea0468f2d983ebdd9563b2fb846ae343c5c0 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit aa764bae8d66856caad976c5e7d4b415c3158179 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index f1dd40591f..57a409c0b7 100644 +index 9252352416..780bbe72da 100644 @@ -26 +28 @@ -@@ -3377,6 +3377,7 @@ static int bnxt_get_tx_ts(struct bnxt *bp, uint64_t *ts) +@@ -3176,6 +3176,7 @@ static int bnxt_get_tx_ts(struct bnxt *bp, uint64_t *ts)