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 69AE5A0A0E for ; Mon, 10 May 2021 18:12:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F7E740140; Mon, 10 May 2021 18:12:27 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2063.outbound.protection.outlook.com [40.107.92.63]) by mails.dpdk.org (Postfix) with ESMTP id 89C5940147 for ; Mon, 10 May 2021 18:12:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HduLKP0DLtD3oWQrE88atMMDYwI3nfnczcbZ52QJXQpVdCcJ9p3OCiqxZcGHazNlwfGKpiMKt1Ipkpk6Asile2lSFLmzd0KMqETRzIsJuIMm20Bzjaahp+QolUVPOEhWJTvxITYgzm5asHARUTCj6J4yVrKA76/xYRQ3kFSFeeUiIpF69KgMn6fY2kHyBL51g4+NQ13vYeYdZz4Gu0begq4+OOqtR12vHyRokeK6YzU5jLXsLN3eOli+2fbIGryMomY+uvX+fEsS52n58zLIyhHfdFn+NF/slTa0pN1Ns/SQVH5ICR+zzmNJ7TVWCZU75DmKKEcnHr2E4vPA7vMXxw== 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=unwMkLWjo/xS6eYTXea0Z8qWO32pVRhoz8XSFKhd/LY=; b=kQhHvoG09PpUueDGHdkNCk5uTGer9WjBK4I6ETtpxBgVjYrHlJ32EPu/udyImDX/5P/tWN4v/ZSYXOkrDs4yhyvXsOIghv8l4da6XaILzb0bIo/KXGzOrrr+Vmm13ixKdX1b/B2WJilacxpZXMgL6t+RUtwPR9aF9o0XN9XTjEhoTbmWc1kCU6n3fY7OwMUusnRidPJMeS9sVKZSXNeocayrat471EcOKgWd4ZM/eisZrtx1DFPOcej79NY/6IK2JvgGxYSmIQqaBpgwTut9coN3qf1CjlEOF4ppB+bTgiPymaFmPiVim2EVFsCOfSG8YgxFKkpR9z96PYKFJ7BWPw== 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=unwMkLWjo/xS6eYTXea0Z8qWO32pVRhoz8XSFKhd/LY=; b=RNfr82sKWYt0o8E+bbSeZdihcBM9E6WX3XuTdpDAIdfjsqGnAvIN0CguiAQ8D/iMp+cZ7PrqYL0L2jCVE5mK+F0/64LWMcZeMX3f1FleQnXGnS+hEfZPcUblQ71QBU45XAN9lO/RbJfsqq2ozFV8Ors9ygqQYPN5DFERTpMscAzu6n9b07qeXXpbaA1uqfSAvpdNchQ6TU/p7ic8Ew7V9lk+K2o73BmJXuM61GVAIuKdoL9OvACBkbQHB4+0Y84z6RQaahVm/kmQaZDURjpfGNvfj6yr+iSQbQs6fKFfcdJaWwA0RBeRmId/4+QOOenCY3Fr9bR3ChSuLQwdrdvPDA== Received: from MWHPR22CA0032.namprd22.prod.outlook.com (2603:10b6:300:69::18) by BN6PR12MB1297.namprd12.prod.outlook.com (2603:10b6:404:14::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Mon, 10 May 2021 16:12:25 +0000 Received: from CO1NAM11FT027.eop-nam11.prod.protection.outlook.com (2603:10b6:300:69:cafe::4e) by MWHPR22CA0032.outlook.office365.com (2603:10b6:300:69::18) 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:12:25 +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 CO1NAM11FT027.mail.protection.outlook.com (10.13.174.224) 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:12:24 +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:12:22 +0000 From: Xueming Li To: Lance Richardson CC: Luca Boccassi , Ajit Khaparde , Somnath Kotur , dpdk stable Date: Tue, 11 May 2021 00:00:42 +0800 Message-ID: <20210510160258.30982-93-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: 00ae972f-630a-40ca-e5fc-08d913ce662f X-MS-TrafficTypeDiagnostic: BN6PR12MB1297: 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: HAdhqW7BMgMOG1K3v3fYkVmoLXJ94Z1mMUAqEhmODRsZ94R3cKTnBiIf9UT4IzT7qncsRs3HQteNYZ4H0Tpp79KDP+m8egxQzjv/51eJ3kpg2RzzxEd2Idwd/V71Ym6DdEj1e39pZotlDHD/SJZOiRUBTkTWM0MuZ03vgzjjOpEIa8jOTLu6MEECYoC5Zz+PTOI2Af66hSzZZQVy5ySyZNaiVxfrKgMXAkRHWDqdtC6vUhsXk/orGGSXTM43g0Tc0l9+E4zAm4/Twu94bIQCvYrjHwF411MFXDWvO9/fGCeMGRNdlItokszzla2zWteAAoOBRdNnhXc0Kiq9OgpreSc3MI/FEFvsKcXEd5db6jBFPkHmoSR8dv9Zfd+Zu5J7j3Ax9R6SuRJjnlAuz5Pj81aUnrkHiiSKX5a30FaURTK0t1nnnP3EVEqX55eUo7m3To1EujVsGD0cZTlUoVnAX/kqZcXn/O62qFY4VWTVTXRkR+MgrHWo27c2Bpa89Pm834aoD+FtTXkxvfUV7s6q8vdYvmGZU4oI03520ZlrQ4nJsEMFU7yhFlwaun0t9cMOkMSsmA1h+6JuylqJBi/5GFv5hMUlcxBv0nz4fwi8QGXapYl2a6xcSqOom6M4AH3iBCl6d+hz17XIDh5aAmOe9RbJMwoj7GcTQsnYdwi3UAVoOl9tjR5lbfOD/1UXT25+ezN56o4yIAm248Ad/GPzqjOmP487JFJf1T6gWGksNbkqJ/fi6mECkeSkFWWcf75EXoRRA95afuCqJfWkLa9djw== 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)(39860400002)(136003)(346002)(396003)(376002)(36840700001)(46966006)(53546011)(2906002)(186003)(26005)(426003)(5660300002)(54906003)(6666004)(47076005)(336012)(16526019)(36906005)(4326008)(316002)(55016002)(86362001)(8676002)(82740400003)(70206006)(82310400003)(83380400001)(7636003)(6286002)(6916009)(356005)(478600001)(36756003)(8936002)(36860700001)(966005)(2616005)(70586007)(1076003)(7696005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:12:24.7152 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 00ae972f-630a-40ca-e5fc-08d913ce662f 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: CO1NAM11FT027.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1297 Subject: [dpdk-stable] patch 'net/bnxt: fix Tx length hint threshold' 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/28e5e8b72203a1176329734c8934eb93865e763b Thanks. Xueming Li --- >From 28e5e8b72203a1176329734c8934eb93865e763b Mon Sep 17 00:00:00 2001 From: Lance Richardson Date: Thu, 18 Mar 2021 15:52:29 -0400 Subject: [PATCH] net/bnxt: fix Tx length hint threshold Cc: Luca Boccassi [ upstream commit 74f2172177a0556348f312b2d88d9ad5f5e298cc ] Use correct threshold when selecting "greater than or equal to 2K" length hint. Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code") Signed-off-by: Lance Richardson Reviewed-by: Ajit Khaparde Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_txr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_txr.c b/drivers/net/bnxt/bnxt_txr.c index fb358d6f14..0cf6ece786 100644 --- a/drivers/net/bnxt/bnxt_txr.c +++ b/drivers/net/bnxt/bnxt_txr.c @@ -178,7 +178,7 @@ static uint16_t bnxt_start_xmit(struct rte_mbuf *tx_pkt, txbd->flags_type |= TX_BD_SHORT_FLAGS_COAL_NOW; txbd->flags_type |= TX_BD_LONG_FLAGS_NO_CMPL; txbd->len = tx_pkt->data_len; - if (tx_pkt->pkt_len >= 2014) + if (tx_pkt->pkt_len >= 2048) txbd->flags_type |= TX_BD_LONG_FLAGS_LHINT_GTE2K; else txbd->flags_type |= lhint_arr[tx_pkt->pkt_len >> 9]; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.027796700 +0800 +++ 0094-net-bnxt-fix-Tx-length-hint-threshold.patch 2021-05-10 23:59:26.460000000 +0800 @@ -1 +1 @@ -From 74f2172177a0556348f312b2d88d9ad5f5e298cc Mon Sep 17 00:00:00 2001 +From 28e5e8b72203a1176329734c8934eb93865e763b Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 74f2172177a0556348f312b2d88d9ad5f5e298cc ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 65355fb040..27459960de 100644 +index fb358d6f14..0cf6ece786 100644 @@ -23 +25 @@ -@@ -187,7 +187,7 @@ static uint16_t bnxt_start_xmit(struct rte_mbuf *tx_pkt, +@@ -178,7 +178,7 @@ static uint16_t bnxt_start_xmit(struct rte_mbuf *tx_pkt,