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 B9771A00C5 for ; Wed, 20 Jul 2022 10:25:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B533641147; Wed, 20 Jul 2022 10:25:13 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2067.outbound.protection.outlook.com [40.107.212.67]) by mails.dpdk.org (Postfix) with ESMTP id 2C64040697 for ; Wed, 20 Jul 2022 10:25:12 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FYXvdz4LnWU9iJlA/bNeTqAB9ravjkhzHUNIixW5+UMt2X47uifGvd6KVTFfiN/kCUB/sbTNs0RQHyqCRoxyWJtep7QR6FHPz+CDh5RYS8+ock9PWEbRc3N/V6d445m8veNy5D2yQLcNrHpnqUmJwnlO0yU+FDDRmeYLlcATDMqZsSgEvO0yFwBmurr7ecF5AVgyXGaPm/+dxZbwtVPF3Xa6wvGWVIt9i8cc2z2hVUmzDmXJrOaCejemFapDg2aIcvdJy1RpBpmtbj+4/wDbjyNE3MGPmT5/PQRzljawLB2hbPCitf4ESio1xUgE/MzFR0IrcEpfGZsJWN1jn9RtCA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HGo2Hy5RV4F05EQ9tBWQ7iI0M4nUS0Dohmgmm2dlxK4=; b=BcLFvpmACG+bPR4x20RPdfjCdL24nBjbMIddGxRYXPk4cQQ6ATtt/RlkJhFc2OfUQfWP0NzcRHZpIzeiLltqfFgCKiMZLpH9np0Lp4o7dSwyM7W+9NwPi3fVODMz3thWYJ74jzfVsVZRLM7uZTRLiHwNIyyHRxFHaVMDX7AmiZZPFG/y5m6AuE2kxV1+yPz2AaJtYQJZ1i08lwv0Vf3Dw7pT7/VNNIGE+Z0AZb55wq6OfKdw9OZNK3LMqqSWAQrZu6nsUcV6DxJ+Wf94w3jmfysSG6ZnJPDiU1NdnlOW5vk+GoCUdYRC+DHtZICWrINS+AvrDEq++lPg4dDnR+3k5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.238) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=HGo2Hy5RV4F05EQ9tBWQ7iI0M4nUS0Dohmgmm2dlxK4=; b=RWnn5vhzdg9iGZ6F7VVjPtnPka/EYXkj4JE3MjHN4+UwYBIiEOIDSkHxTGA58dkoZth5LFU6m4CfaayjDzpaAgiqGBqMJlux/caX/KKlydlla4LzPEfsq2keM0M1iJx+MhaE7OIJ1XR8KbXF9FDTXTNCoujvuSiL2jdOYJb4ocvYNE0aKLl+tIkSW9sAYNSsnOrkVRv+/m7/uPjz5pDMSw7mwJLl7y3ejTYv/mBdibGEf/QHqJfi7Q7GXpsOFhCISnXsQISq/XW90a9brHAtS8yKXNae3qXFFiIgOvkIbRrbZo5zVE+KTGe9aCrg7kUDVvzBrLiqZFIttGe9qfMtQw== Received: from MW4PR04CA0140.namprd04.prod.outlook.com (2603:10b6:303:84::25) by MW3PR12MB4396.namprd12.prod.outlook.com (2603:10b6:303:59::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.20; Wed, 20 Jul 2022 08:25:10 +0000 Received: from CO1NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:303:84:cafe::9a) by MW4PR04CA0140.outlook.office365.com (2603:10b6:303:84::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.23 via Frontend Transport; Wed, 20 Jul 2022 08:25:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.238) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.238 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.238; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.238) by CO1NAM11FT028.mail.protection.outlook.com (10.13.175.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:25:10 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL105.nvidia.com (10.27.9.14) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:25:10 +0000 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Wed, 20 Jul 2022 01:25:08 -0700 From: Xueming Li To: Chengwen Feng CC: , Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix descriptors check with SVE' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:21:09 +0300 Message-ID: <20220720082132.3954126-40-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5b524553-d534-43f2-7a68-08da6a295c9e X-MS-TrafficTypeDiagnostic: MW3PR12MB4396:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?quCbECeMeYn69kkNo8fr5jsdavMv5qKqFH17u2EBtVn+214e3Y+NLq893yrv?= =?us-ascii?Q?GSCZa3wUuE+twA5h1DPmKMlQ190nWVDM3QgNlrIiycn/MzsIUHUKkjqx1X/Y?= =?us-ascii?Q?eTwEDxSfIloTV8034NB/+5RlDQOFAzLXfywv3F2SZq4kCwqzOAAnwlpeCVvv?= =?us-ascii?Q?PJZ+tb7JWw8TZ3tKctzRoxrM/mbQeascPXIu5R7V9uT7YTr8oxogGvvv3PWE?= =?us-ascii?Q?GzbSJ8723cbHWIj9BBJe8lfLW4a1h4ceFdW7ed2NpXmOsRbg+fdQzCXb4bF4?= =?us-ascii?Q?0N5l4wwRjktHyyiHOJYxbOHwpb+JL2qn+tnOfYLMeW+Ca6y/RUIHTIzz1rXG?= =?us-ascii?Q?izrPHMWaDIcF9vlNxW+Rbl3D3fexZmSQR30JZZp9tAXnP1N9xq+KfmGmB8iK?= =?us-ascii?Q?YoQmksYPQ/o2ZCGrNPoKJKzrPpWwEHg/tK7oG4PLww+k2b1N8agHyZyjiQsa?= =?us-ascii?Q?EZ39NAjpz2cOA6D/nqtnfJSWeYxaUZuJTnEXLOoy3Lb/PZpD+50MtZNQKFfE?= =?us-ascii?Q?R7TCJJd9O1vkaugbBmSKVla9ff2jvKXP5XsydIsJrKUH5COcBppYpkRcYEyc?= =?us-ascii?Q?b4MpqdDabJFD73fUnXuwFjL+mUxwE5OPitP5Ncxt4ljyc4J0cC/hLLon/2KA?= =?us-ascii?Q?rk6SRpVbdmlvWiWAnVutaLuBro+dcUxXSYK6cbZsrcSvIvpt9+Sbbr2hj3JT?= =?us-ascii?Q?czYnK0pBp3xASbvnST2Yb20t+TCgeK1NP3wBAL73Sx/x9LQLoQSExDyjzVTv?= =?us-ascii?Q?C3p/jYova5gGz3DBvBXY3Je4FxTlBMNjcH33Ba6pMINu5b34hfPD7nt6KOoB?= =?us-ascii?Q?qkOuXuoohY8FFKMRyS7+STdefrVT4u+s6pm/sRhJT4eBaygL5RuInoNaYhLX?= =?us-ascii?Q?cYgaD1CG7tLvC1jax82Op9Qn+ENsay+QBitC6SveqFpaWwCI/SQNXsvlo+JZ?= =?us-ascii?Q?10J/QYpqoFyIqLoP3oVzHw=3D=3D?= X-Forefront-Antispam-Report: CIP:12.22.5.238; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(346002)(396003)(39860400002)(36840700001)(46966006)(40470700004)(36860700001)(4326008)(40480700001)(8936002)(316002)(5660300002)(6916009)(55016003)(82310400005)(54906003)(40460700003)(2906002)(70586007)(83380400001)(16526019)(8676002)(70206006)(36756003)(356005)(86362001)(82740400003)(41300700001)(81166007)(966005)(336012)(7696005)(6286002)(2616005)(186003)(47076005)(26005)(478600001)(1076003)(53546011)(426003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:25:10.5346 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b524553-d534-43f2-7a68-08da6a295c9e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.238]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT028.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4396 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 Hi, FYI, your patch has been queued to stable release 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/22/22. 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/a035314c1ed32710cae68d347263a5889ccfc914 Thanks. Xueming Li --- >From a035314c1ed32710cae68d347263a5889ccfc914 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Fri, 24 Jun 2022 16:59:49 +0800 Subject: [PATCH] net/hns3: fix descriptors check with SVE Cc: Xueming Li [ upstream commit 5125731f562d6f457d63b803a921523d76ab482d ] The SVE algorithm and NEON algorithm have the same requirements for nb-desc, but the nb-desc is verified only when using NEON. Fixes: fa29fe45a7b4 ("net/hns3: support queue start and stop") Signed-off-by: Chengwen Feng Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 1675da1b08..a1f301c344 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -1749,7 +1749,8 @@ hns3_rxq_conf_runtime_check(struct hns3_hw *hw, uint16_t buf_size, return -EINVAL; } - if (pkt_burst == hns3_recv_pkts_vec) { + if (pkt_burst == hns3_recv_pkts_vec || + pkt_burst == hns3_recv_pkts_vec_sve) { min_vec_bds = HNS3_DEFAULT_RXQ_REARM_THRESH + HNS3_DEFAULT_RX_BURST; if (nb_desc < min_vec_bds || -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:01:00.631384787 +0800 +++ 0040-net-hns3-fix-descriptors-check-with-SVE.patch 2022-07-20 15:00:58.751000431 +0800 @@ -1 +1 @@ -From 5125731f562d6f457d63b803a921523d76ab482d Mon Sep 17 00:00:00 2001 +From a035314c1ed32710cae68d347263a5889ccfc914 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 5125731f562d6f457d63b803a921523d76ab482d ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index e25a91becf..7b173f9f36 100644 +index 1675da1b08..a1f301c344 100644 @@ -22 +24 @@ -@@ -1756,7 +1756,8 @@ hns3_rxq_conf_runtime_check(struct hns3_hw *hw, uint16_t buf_size, +@@ -1749,7 +1749,8 @@ hns3_rxq_conf_runtime_check(struct hns3_hw *hw, uint16_t buf_size,