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 8A20DA0524 for ; Fri, 5 Feb 2021 12:34:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8490E188A12; Fri, 5 Feb 2021 12:34:10 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id B9C7D40682 for ; Fri, 5 Feb 2021 12:34:08 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id f16so5732941wmq.5 for ; Fri, 05 Feb 2021 03:34:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WAY5jkuIWmxFogYF+PcLBYivjA8mEpYBvfvz9OrCNY4=; b=bnpV94itkvzja7bkJZJr4xVGK/GgECKKtAZGypm3i6CO4xoQqhaUjNfHNmrpD15ET/ b5faY7+H6JTnAB+xf1kxQBLlkjhTjNRtQaDQ6fVtIKtsiDC1kRThYGx7Tl8GgzLaRpoN KBad1+WKVqi7tgPQ6CmEv2mCSLeWgTFTTBiaZYwalptVMGJVKyolMt87YwCJ9kbAs2m9 C6nJZ/RmiOJhssCEpL0VzMlcWJn/ephSlFyhDM6xuYLumpr8S4A3iZkJ1dhfY7R5tfID VR4RwB13ALwv8k8cAFbn6XNyPHCJRIV3Cn20JHFOGo9Ovl2lVFfyE5WuhRgcbthlkNR3 wVLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WAY5jkuIWmxFogYF+PcLBYivjA8mEpYBvfvz9OrCNY4=; b=NiymBIHWlGXQCcET2LUGig/0zXzndEFXFdANUU5uf4WBlnUYwIpmFXO4Ju89gCC/Ym pRBJvzjT7S8jXyHckwf3AW1eGH0I3CwU7JMYbAKghopaRRMejeUk456vk+/M4c+SWkHF bqiDRob7LnztAtJCfW/iWBD6Tv7eMAokvr7qOPWPDHLgcyx08QsPEj5xURIYGIHby423 roSOYa4gcXNJo68vAr7IklezjI5Z7JIzDC3ehImbxiO9kNtws9+cV/uvuHGd+5ic+Yi2 Q+DuqlxJ3n3ZUfpQ5i5KNFDjXqfJpcSptUU8vuMHVB4PBlX67hDvmjVzlIzngWc90CGl FoEw== X-Gm-Message-State: AOAM532CahKN5XSEvh7zJhf2/K4yJja5RpIUD98lx2s7bNw5SwehXvAd nXQ3AzKuj0+EP7agKddwPDRHhyDlxhcAANXT X-Google-Smtp-Source: ABdhPJzFDWbUNkbCHtn1X6TiEheXrNDJ+CW6/opj7+0fAB8pUpHUXvbbB8msG6Kq1JBpE0i3yXSK9g== X-Received: by 2002:a1c:31c2:: with SMTP id x185mr1323386wmx.44.1612524848566; Fri, 05 Feb 2021 03:34:08 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id 13sm7904979wmj.11.2021.02.05.03.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:34:07 -0800 (PST) From: luca.boccassi@gmail.com To: Hongbo Zheng Cc: Lijun Ou , dpdk stable Date: Fri, 5 Feb 2021 11:17:36 +0000 Message-Id: <20210205111920.1272063-170-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/hns3: use new opcode for clearing hardware resource' has been queued to stable release 20.11.1 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/61f236f23435b1f9ac0a8171056ebc63653eca94 Thanks. Luca Boccassi --- >From 61f236f23435b1f9ac0a8171056ebc63653eca94 Mon Sep 17 00:00:00 2001 From: Hongbo Zheng Date: Thu, 14 Jan 2021 21:33:33 +0800 Subject: [PATCH] net/hns3: use new opcode for clearing hardware resource [ upstream commit e5d179078b611035395317c80a9285c8a2de18a2 ] The original command opcode '0x700A' may cause firmware error, so '0x700A' is deserted, now use '0x700B' to replace it. Fixes: 223d9eceaeee ("net/hns3: clear residual hardware configurations on init") Signed-off-by: Hongbo Zheng Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_cmd.h b/drivers/net/hns3/hns3_cmd.h index 194c3a731b..e40293b309 100644 --- a/drivers/net/hns3/hns3_cmd.h +++ b/drivers/net/hns3/hns3_cmd.h @@ -203,7 +203,7 @@ enum hns3_opcode_type { HNS3_OPC_FD_COUNTER_OP = 0x1205, /* Clear hardware state command */ - HNS3_OPC_CLEAR_HW_STATE = 0x700A, + HNS3_OPC_CLEAR_HW_STATE = 0x700B, /* SFP command */ HNS3_OPC_SFP_GET_SPEED = 0x7104, -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:36.864951915 +0000 +++ 0170-net-hns3-use-new-opcode-for-clearing-hardware-resour.patch 2021-02-05 11:18:29.126697205 +0000 @@ -1 +1 @@ -From e5d179078b611035395317c80a9285c8a2de18a2 Mon Sep 17 00:00:00 2001 +From 61f236f23435b1f9ac0a8171056ebc63653eca94 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e5d179078b611035395317c80a9285c8a2de18a2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org