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 1DF33A0C47 for ; Tue, 10 Aug 2021 17:42:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1538C411C7; Tue, 10 Aug 2021 17:42:58 +0200 (CEST) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by mails.dpdk.org (Postfix) with ESMTP id 021F0411C5 for ; Tue, 10 Aug 2021 17:42:57 +0200 (CEST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPS id E06AA3F338 for ; Tue, 10 Aug 2021 15:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610176; bh=XhkYH/tT7neWdcHgmvlzNCbmEx+MDmTgthHAAw01HOM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hri3mJiagBBsPWO65ETgnG6+M4qYkvnBslWBC5oBXP4rZdzlsLC8Kp+e0JjEtLFZD 9SOmT+viW7L/gCgqmHcBV5MxlWjQeYxBtM5H1myLvraMBprdr5jO2YZDCqMJK0jzvp gf4pIsRw+Lpb+2bPqJSPkk9QcJf/9wFAGDE6F1nrplYKROSlTencxUAdlk9fG9Sv+v 7IH2UMeKL8r7HAvmDlpWvH++hvQKbFRMaGxk7G+n2ZKqSkUmw1pvOBfAHHhCPOyTJL IFBPd+b2m0CI2J09VvuKRCGXyn4cIhwfzUUiDaU8HzsEeVdRcNUyIH+bz4Nx3m4/Ti 4//0JOQWlfD3A== Received: by mail-ej1-f71.google.com with SMTP id v3-20020a1709063383b02905b4d1d1e27cso1121806eja.19 for ; Tue, 10 Aug 2021 08:42:56 -0700 (PDT) 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=XhkYH/tT7neWdcHgmvlzNCbmEx+MDmTgthHAAw01HOM=; b=Qv0VT06Kgb6e3gSRKz9gzGcA1qlqBbcSmpD54xYiQwRUAfz3M/Lir02abwxu4U/Xcg TeFMA/KpxdqklRfms0kxPptXUDSmchmpEKMEoT7xYAHqFQ4jNRafH+52T3gK4MYxA/Uz mEs14X82SQbbvDh834TSAE4XgECqDdYULqtVhtvL6+CzVwIHqB+ki67mBaYxzbLbzqOf y2FVFz/Vwg4j9UpTbnixvVGp4YuItM7o+2Ym/q0niAGNKz1zUG8IW5Vop3kX/aqhe92g 6hazj6jtHHoqkKtp0xB3UdJT1dcxGb7qjCjbpwaR/0dQRRx/UMSikT48YNfxEWoY4F6o nyEQ== X-Gm-Message-State: AOAM531iS10e/mFheU+0iCbhcg357DrRuTC8z1pxikYJffqYPDd0pBOI z5kIZPc4QnFKbKPc+V5vglmeGIDySATS5wbkkeROn9YURudCEUeigdUMiv82EZPH0CWZUP8Thek l8NhvBvlWgwqpDEybZkX8goSP X-Received: by 2002:aa7:ce87:: with SMTP id y7mr5694354edv.306.1628610176657; Tue, 10 Aug 2021 08:42:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyatGztNHL0czrROV2NI0NIidPT9+xjFw77G+gK3JV08m6gPFQg/6UG5C7i3LBnMPEGUXAazQ== X-Received: by 2002:aa7:ce87:: with SMTP id y7mr5694338edv.306.1628610176486; Tue, 10 Aug 2021 08:42:56 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id 8sm783795ejy.65.2021.08.10.08.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:42:56 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Kalesh AP Cc: Somnath Kotur , Ajit Khaparde , Venkat Duvvuru , dpdk stable Date: Tue, 10 Aug 2021 17:39:28 +0200 Message-Id: <20210810154022.749358-48-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210810154022.749358-1-christian.ehrhardt@canonical.com> References: <20210810154022.749358-1-christian.ehrhardt@canonical.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 19.11.10 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 19.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/5c8a709f4d71208f8fa5c35f7816bf25e036b208 Thanks. Christian Ehrhardt --- >From 5c8a709f4d71208f8fa5c35f7816bf25e036b208 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 90cee73e51..3d07efd0f0 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1550,7 +1550,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.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:14.887387144 +0200 +++ 0048-net-bnxt-fix-typo-in-log-message.patch 2021-08-10 15:11:13.022638128 +0200 @@ -1 +1 @@ -From a3a1db0abf9bedf65c716802db458ded03c800b1 Mon Sep 17 00:00:00 2001 +From 5c8a709f4d71208f8fa5c35f7816bf25e036b208 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 90cee73e51..3d07efd0f0 100644 @@ -25 +26 @@ -@@ -2152,7 +2152,8 @@ static int bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev, +@@ -1550,7 +1550,8 @@ static int bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev,