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 DC6AEA034F for ; Wed, 10 Nov 2021 07:36:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6A5940142; Wed, 10 Nov 2021 07:36:30 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2068.outbound.protection.outlook.com [40.107.237.68]) by mails.dpdk.org (Postfix) with ESMTP id 255F34014D for ; Wed, 10 Nov 2021 07:36:30 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BT7JUaJiZj+Gg5qisMQjxBAcoLxoQ/rRpB2j+UleHEV/8TJd1LSmsakrO3SAhXBrd7vrstF3NAA7JBRGdiwkJJ+6GxDtdqlGh/ZCdDXMA2v1hei/PmNhkGoShvcK9vJRaWvb5sqjHQ77glOVwNgfivb1te6eu1Bk0e644zWlO2IW96RL+LD2QRqpr8hi8Rzh9jrT7r1nB7i1ZkmsXhT/PwkchjgSSxWQHpS/T+gNZ4/V+C10CTfhbeY69AFpAvleF/oF8YETC6ZTizvyngvqekvQqGnFxZr6SPqdvHNcFGJ1r/VuLT62LR/AeXPhKINrEt6SZHLHRfWG/F0fWX6wCQ== 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=O3homxgHqgoukBzuiDLRbdimB/Xdoip/iCWwYvgjLKk=; b=Vt9Ewl25g+ERRWPI4E6/1TVU9f5VqmFREQcxD/yIuZUp4z1cFhwVJwJqLYJTbJQnU4vcKrfTv+FqPXheulDM6HOyE9eodHwD86va4Y6CWTY3XwNiP9Fty+pTz5qC/WVMe4K3dHjGfhPfwYC/R35aheI74fKVhfdNDc4W5YJk35qAUg/+P8rxdCrFYNz+AiC6lMOmSUWzRYTea5Rbo1wgNHNsKqHimXPWMTTLEF2NFEl/1dS1oUsEzvL4Tiw7kGfopv82dBhDuhiAKqELU9OsVnIUZqzpkFX1HQ//Jp7wTvSwVKAJ00OFb006YpkqUGIryTgTV6awHiojI5fucA81pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=huawei.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=O3homxgHqgoukBzuiDLRbdimB/Xdoip/iCWwYvgjLKk=; b=IjRE6oTeJP6Y40eZZ86NU+o55GYw8dtkZa9NuyFPiNV53q5B1jscSCBA7SPw3yYdY0xW61N7/LRL1zzudb/1CmeMSRrKRf1SAJZNbqZWa0ze+0ErnGNS45kzPzoXVw2HG0xpea7F/S0E+9yCHktQNFDB0MUCzGoEWIxdNxx3FxRUA4TLLh77Kpon/uNZIBpKye+apx5Y9kXCUDZpjpHtweD0reYbZ4lFIagcUNQn/N9zlf553QafLdNhiyRhGTp3nGfL9yiZFSLfFwMRDjhRk3KUG1fjpyk6ipJk+aSy158kpoe+2IsDioL+y2wj5bpdl7slAiLH58cW4Fpra/mdxQ== Received: from DM6PR13CA0062.namprd13.prod.outlook.com (2603:10b6:5:134::39) by BN6PR12MB1585.namprd12.prod.outlook.com (2603:10b6:405:9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Wed, 10 Nov 2021 06:36:28 +0000 Received: from DM6NAM11FT003.eop-nam11.prod.protection.outlook.com (2603:10b6:5:134:cafe::2a) by DM6PR13CA0062.outlook.office365.com (2603:10b6:5:134::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.7 via Frontend Transport; Wed, 10 Nov 2021 06:36:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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 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 DM6NAM11FT003.mail.protection.outlook.com (10.13.173.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:36:27 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:36:24 +0000 From: Xueming Li To: Chengchang Tang CC: Luca Boccassi , Min Hu , dpdk stable Date: Wed, 10 Nov 2021 14:28:40 +0800 Message-ID: <20211110063216.2744012-37-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 49ed605f-e8dd-4920-a816-08d9a4146cbf X-MS-TrafficTypeDiagnostic: BN6PR12MB1585: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7u5frEL3ahzSy+vLDjcfZUZGJpvlrCT3wFNcbTzH5rLgJfPx/7cPj1UdSBp1ap1AIvaJPMkMYGOXWrP0b6kCVql+PUy5yuTVmCsDcySc+Fyr57xjflbKv56nfzmg7yRIyEllmX57WQ4QY4fkWMyS9xEJLwBWML7n6DkxX53ydcb0zDmEVrW0PRvPoXEC55nL0GvF3LnhuEuSr3gM7qsqfPQAGYoK+3S78+ynvxAINr3llW8AuJx3E2aDGegDz3BJBlvR20ZKXrDXfp4rQF7hRVXXz9goLuBo9Kbw9oj7wbuzpwbVNhUUGHMR/Cl4gQotKYtdaYxf/vO8/ySJB3DaNSkMUP60T8r/BT5yxaR/dH0QGqjDpGtreHpxcJZRmZ2oSxuR2GuVrc+Cg7swTcuGhU2FyYyJUSAVyF4gNZq/xjAAZC8ORTjzbotfLQ5AZo1/IOnxGcH3OQy+LRdKne/+xJYTw+xgPR7hRudDrmpCDf/hCWZGbWqbPEqBxakQmtUT8F+2MsKvDYFd4aG7LWPUDRJ97Xti4Iu858/XkaRJVZUaNvyp0l3TVXNzJFYK5pm4CTFh0WHfyjFkzE2X4u6RqyzIN0jWdIlpSlXmd5It+vm+XQov0AQLcNoLV7LQhVj9oisIW7au0WDe4tVdrGwseQceFq8XDIk4MaW0OQECernUqUCV3lUdzc2SktSUprUJg6xvwyVAXZKrjEwhSQv8d5UGZBW9jej8dV68zs/mqU9cteQnSpnAUANS034Zk0oq8gZO0DNPK4grbTXsq7JkPzKOlm0oj8zgeuiQhgv47fMXNi2Sj0sKMxKZ+lc8VnEg0uu3US+QShC1iqHUMqd8Kg== 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)(46966006)(36840700001)(26005)(186003)(16526019)(54906003)(7696005)(4001150100001)(53546011)(4326008)(8676002)(5660300002)(336012)(426003)(2906002)(47076005)(316002)(2616005)(8936002)(36906005)(83380400001)(966005)(86362001)(508600001)(6666004)(36756003)(70586007)(36860700001)(70206006)(356005)(1076003)(82310400003)(6916009)(55016002)(6286002)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:36:27.9197 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49ed605f-e8dd-4920-a816-08d9a4146cbf 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: DM6NAM11FT003.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1585 Subject: [dpdk-stable] patch 'net/hns3: fix taskqueue pair reset command' has been queued to stable release 20.11.4 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.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/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/dd8e8fcf1ff916a10ce263280a0f34470cd4ad10 Thanks. Xueming Li --- >From dd8e8fcf1ff916a10ce263280a0f34470cd4ad10 Mon Sep 17 00:00:00 2001 From: Chengchang Tang Date: Mon, 30 Aug 2021 16:26:50 +0800 Subject: [PATCH] net/hns3: fix taskqueue pair reset command Cc: Xueming Li [ upstream commit 3fb0df3138e1f07dd3d79f80306c1d72eb4eaa77 ] This new taskqueue pair reset command is used incorrectly, resulting in the new command not taking effect. This patch fixes the incorrect use. Fixes: 6911e7c22c61 ("net/hns3: fix long task queue pairs reset time") Signed-off-by: Chengchang Tang Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index ad9ead47cc..9bfa9eef8a 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -695,7 +695,7 @@ hns3_reset_rcb_cmd(struct hns3_hw *hw, uint8_t *reset_status) hns3_cmd_setup_basic_desc(&desc, HNS3_OPC_CFG_RST_TRIGGER, false); req = (struct hns3_reset_cmd *)desc.data; - hns3_set_bit(req->mac_func_reset, HNS3_CFG_RESET_RCB_B, 1); + hns3_set_bit(req->fun_reset_rcb, HNS3_CFG_RESET_RCB_B, 1); /* * The start qid should be the global qid of the first tqp of the -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:03.721604893 +0800 +++ 0036-net-hns3-fix-taskqueue-pair-reset-command.patch 2021-11-10 14:17:01.784080133 +0800 @@ -1 +1 @@ -From 3fb0df3138e1f07dd3d79f80306c1d72eb4eaa77 Mon Sep 17 00:00:00 2001 +From dd8e8fcf1ff916a10ce263280a0f34470cd4ad10 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 3fb0df3138e1f07dd3d79f80306c1d72eb4eaa77 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index 0f222b37f9..481872e395 100644 +index ad9ead47cc..9bfa9eef8a 100644 @@ -24 +26 @@ -@@ -697,7 +697,7 @@ hns3_reset_rcb_cmd(struct hns3_hw *hw, uint8_t *reset_status) +@@ -695,7 +695,7 @@ hns3_reset_rcb_cmd(struct hns3_hw *hw, uint8_t *reset_status)