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 335EBA0524 for ; Fri, 5 Feb 2021 12:37:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EF101889F7; Fri, 5 Feb 2021 12:37:26 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id E8FDB1889F7 for ; Fri, 5 Feb 2021 12:37:24 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id q7so7262741wre.13 for ; Fri, 05 Feb 2021 03:37:24 -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=5RVx+jYI6/AJKTFxPZQzOsJ6T8aessoMQRN2lco0HHA=; b=cCM5+bAx7DqA/Q9V17wZJLw3gNFgJ820CJl3FcZVvSv3/yL1IxWpsvwHU9Pqg8uZ35 12W+Zqlo1y0MGda1wgdgL+o3s3k5SSPIUdqqM9nXDCG9A2EA3N1oMCL7WJCnmIZz3fZX 5Df/+sG4BK2OqqyLDsTjMGobAGoCjocFFIYG99MywkpUZAnFB6nvhxUkp0S4bftFwDCZ Cmbc2d+xMrCost+B3GxnoIjeQnSVmfqe1ddSDWWBOv0J2/Obt6LvVB1TCMBIEJxYPpm9 vFKOTilTzdZAIX94AqSR4NaHpYSjRs1S8eDBED/BNy4mJg4g0MsWX1QicKQFYMaeuax/ eDHA== 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=5RVx+jYI6/AJKTFxPZQzOsJ6T8aessoMQRN2lco0HHA=; b=jo03B2S5bXDqMQk32mCh3vTxAvp5saW0MRSOOehrHd5xj005BSdOhQilR+c/PGSA8i +jBwNT6dbtHyXr82EkOzgV7rJfCn9GfKfJUKu95KaZ+byRDXVPdj1bkQg5ALxv3BIF08 0Z/uDHrRiVMJX4Pbml9vkdSt0sGeFSvFfZu3F4r4rNkLR5Z2R3P0dSMd4kt68VfK17nv iAaszlPIy/lDCcyo0NhKCuU9L15WbLRWBzNkDOYIMiPz58uorUarDi/0rgFQBEaEfT2z RD3vehwF1K/Xjdbcz5pT5sWy4FS/ls/1CKHiwyCFnHUbU5SiBSC/ARHV3mgygtdp16oa OgcQ== X-Gm-Message-State: AOAM533SqsR4/sY4jsZHiyX4cUklZxsouoOCU+RCChfpU75wXmyiTxa6 o5oLRPXdRPMbrjW0pUnYL5p1WI/v2abZXcQh X-Google-Smtp-Source: ABdhPJxIp8wRS25XSUQ7qZ90siGzMmQwZ5+4NCGF1tx4CBVFed4hpQiPCQskHpj3qNHCPAO7gRs9xw== X-Received: by 2002:a5d:640c:: with SMTP id z12mr4565412wru.342.1612525044762; Fri, 05 Feb 2021 03:37:24 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id e10sm11482446wro.65.2021.02.05.03.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:37:24 -0800 (PST) From: luca.boccassi@gmail.com To: Kalesh AP Cc: Somnath Kotur , Ajit Khaparde , dpdk stable Date: Fri, 5 Feb 2021 11:18:35 +0000 Message-Id: <20210205111920.1272063-229-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/bnxt: fix FW version log' 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/e6f382e229a6c095382a2c20e43858cb7ddfd86d Thanks. Luca Boccassi --- >From e6f382e229a6c095382a2c20e43858cb7ddfd86d Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Mon, 18 Jan 2021 09:42:11 +0530 Subject: [PATCH] net/bnxt: fix FW version log [ upstream commit 51a7d362721e2fe60425d4c045306ac85f87cd2c ] Driver is not logging the complete FW version along with HSI version. Fix it to indicate complete FW version string. Fixes: 9a891c1764ea ("net/bnxt: update HWRM to version 1.9.2") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 75d97d6721..344895843b 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -1096,10 +1096,11 @@ int bnxt_hwrm_ver_get(struct bnxt *bp, uint32_t timeout) else HWRM_CHECK_RESULT(); - PMD_DRV_LOG(INFO, "%d.%d.%d:%d.%d.%d\n", + PMD_DRV_LOG(INFO, "%d.%d.%d:%d.%d.%d.%d\n", resp->hwrm_intf_maj_8b, resp->hwrm_intf_min_8b, resp->hwrm_intf_upd_8b, resp->hwrm_fw_maj_8b, - resp->hwrm_fw_min_8b, resp->hwrm_fw_bld_8b); + resp->hwrm_fw_min_8b, resp->hwrm_fw_bld_8b, + resp->hwrm_fw_rsvd_8b); bp->fw_ver = (resp->hwrm_fw_maj_8b << 24) | (resp->hwrm_fw_min_8b << 16) | (resp->hwrm_fw_bld_8b << 8) | -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:39.272545295 +0000 +++ 0229-net-bnxt-fix-FW-version-log.patch 2021-02-05 11:18:29.206698727 +0000 @@ -1 +1 @@ -From 51a7d362721e2fe60425d4c045306ac85f87cd2c Mon Sep 17 00:00:00 2001 +From e6f382e229a6c095382a2c20e43858cb7ddfd86d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 51a7d362721e2fe60425d4c045306ac85f87cd2c ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 6d54b16568..4d8ca9e478 100644 +index 75d97d6721..344895843b 100644 @@ -23 +24 @@ -@@ -1102,10 +1102,11 @@ int bnxt_hwrm_ver_get(struct bnxt *bp, uint32_t timeout) +@@ -1096,10 +1096,11 @@ int bnxt_hwrm_ver_get(struct bnxt *bp, uint32_t timeout)