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 0616FA0C4C for ; Mon, 12 Jul 2021 15:14:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3AD340685; Mon, 12 Jul 2021 15:14:30 +0200 (CEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id BF02440685 for ; Mon, 12 Jul 2021 15:14:29 +0200 (CEST) Received: by mail-wm1-f49.google.com with SMTP id a5-20020a7bc1c50000b02901e3bbe0939bso11521125wmj.0 for ; Mon, 12 Jul 2021 06:14:29 -0700 (PDT) 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=3gWGZW43vjwcpAPIW282y92IgMQk3ZTT2nIy4HScivo=; b=XKOwT8Nwx7bzvcc42UWCxSplzQVsrRPCWyquRMJ3cOugfPekye2lFePrwqRiYmMLbX ZvrL3Wtpr7BPOH6Ew8cv01JLodQPyaDJTsFhIhQ7NR1imWaa0XGzTXG5ArCpn4MCrRVi LWl1H/BqAZkF0DivmHUUARAO11JwVJ+/ixccw3IAQKLBDiJrdUWgPpu5eWepL8dwj/pI /ZrL50bNrGMlPpAbP79hEz59sRR0+LvP4ZyVrxi1rKe8gvbp/qgg/AYL9vQnioU/DdVj fqgiCf3HwjkncbZ2++mMUWZlt539MdvKpYMTqA4Koil39dp1lYqn1K/23Kg7318m6/bi BUPw== 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=3gWGZW43vjwcpAPIW282y92IgMQk3ZTT2nIy4HScivo=; b=So511RGj229vFGcgJf0ZLLQyHBop00AJloe9/V3q500PFYX9+TETeGKUcvKr8ijWxu /HdOUPiyxDqKvbIgUxzTHGIm1pgYWO+HzRDoFA2iPvqXpZNEjn2BxkfP6y05NxPQia1d 502QplRxP5+0LOFuXP2SKg7EgB5kpRQ40SoVpC6aOnJyGtrvZNr39H9miUKjh0l8F0TR XWXLEZ40KWeQPNj8pcsZkte5lNCNS22Gx1O3cjecYBaanoOx/j9ZhVdEDGxymLnrkAAc c8aCNvt1SO+X75zZS5CrmmWIDV7Z18RA95gTzc7yZJ5DXKeKs15XRTyFbG8US3oDlhCR Bf/A== X-Gm-Message-State: AOAM532uVbV6QyQnNh6G/vVXYlKjiKEp9KpcxjkxDBomqnQROgrTdBhS PxZZ3KpT0mhBWdlp6nQOJNk= X-Google-Smtp-Source: ABdhPJz92P1UTx/uTNDxar7aZ1eehBuSUa/pSnYCCmPeknuLxTYDqaZ5YWD3O4gbpV7kB6xF52DiHw== X-Received: by 2002:a7b:c30f:: with SMTP id k15mr14680825wmj.128.1626095669596; Mon, 12 Jul 2021 06:14:29 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id t6sm14437054wru.75.2021.07.12.06.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 06:14:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Kalesh AP Cc: Somnath Kotur , Ajit Khaparde , Venkat Duvvuru , dpdk stable Date: Mon, 12 Jul 2021 14:05:20 +0100 Message-Id: <20210712130551.2462159-85-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210712130551.2462159-1-luca.boccassi@gmail.com> References: <20210712130551.2462159-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnxt: fix typo in log message' has been queued to stable release 20.11.3 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.3 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/14/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/5ea707d9e4ae9cc7f3e83db21eb99a35774d73c9 Thanks. Luca Boccassi --- >From 5ea707d9e4ae9cc7f3e83db21eb99a35774d73c9 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Wed, 9 Jun 2021 08:43:30 +0530 Subject: [PATCH] net/bnxt: fix typo in log message [ upstream commit a3a1db0abf9bedf65c716802db458ded03c800b1 ] In bnxt_rss_hash_update_op, check for valid RSS hashkey length is made against size HW_HASH_KEY_SIZE(40). But the failure log says "Invalid hashkey length, should be 16 bytes". Fixes: 91aee9711ee3 ("net/bnxt: validate RSS hash key length") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde Reviewed-by: Venkat Duvvuru --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 99194c9c44..934bcb0ec4 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -2077,7 +2077,8 @@ static int bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev, if (rss_conf->rss_key_len != HW_HASH_KEY_SIZE) { PMD_DRV_LOG(ERR, - "Invalid hashkey length, should be 16 bytes\n"); + "Invalid hashkey length, should be %d bytes\n", + HW_HASH_KEY_SIZE); return -EINVAL; } memcpy(vnic->rss_hash_key, rss_conf->rss_key, rss_conf->rss_key_len); -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-12 13:41:41.013621224 +0100 +++ 0085-net-bnxt-fix-typo-in-log-message.patch 2021-07-12 13:41:36.726127527 +0100 @@ -1 +1 @@ -From a3a1db0abf9bedf65c716802db458ded03c800b1 Mon Sep 17 00:00:00 2001 +From 5ea707d9e4ae9cc7f3e83db21eb99a35774d73c9 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit a3a1db0abf9bedf65c716802db458ded03c800b1 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index e7fc254173..70d10b9341 100644 +index 99194c9c44..934bcb0ec4 100644 @@ -25 +26 @@ -@@ -2152,7 +2152,8 @@ static int bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev, +@@ -2077,7 +2077,8 @@ static int bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev,