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 6B6A4A0C4C for ; Mon, 12 Jul 2021 15:09:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 608954069D; Mon, 12 Jul 2021 15:09:16 +0200 (CEST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 122984069D for ; Mon, 12 Jul 2021 15:09:15 +0200 (CEST) Received: by mail-wr1-f54.google.com with SMTP id p8so25548906wrr.1 for ; Mon, 12 Jul 2021 06:09:15 -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=rsgnWEjnvhtErUtVPohHrsChgTEgy0nITNb0HyT4huk=; b=A8BZ3p2SGoyYl5BqejDoOCWsnwT7dpChvUQUt9dUHvadcqa3bv1v3by5ciHIy1u0/b xDp0t5DREoXebXXhzTb7f+lRSzD8BcvK8/cXrGlB4dg06xnZcAkgGFPwaXfKWQlwrBuw XeBtCOkt7VNLrIcKiHApq3pi19LV/RxALkYOcAjHEStXkWF2WvQc2m/501kzua6oIpiV X1Vki+s3FlXDMDQf3kpZk0uVdPc4oqNWEnSvBqh41EWRUX/oDonfIRdWe8cYoJ8bCzV7 Div44M5M9djzQ/BLnlpfrS7shbTNGFlrQA4yGTy2OQRUk9/p1cDddzNZscmqfJHKYUUs MjnQ== 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=rsgnWEjnvhtErUtVPohHrsChgTEgy0nITNb0HyT4huk=; b=loU+l/WxjVOgaYMXJypJ5i0IKOvivuybqG7OeN6EJ/2SiMqVF2V1JeItwxYBNKcOHp Ubmo/qZDte+vpsKOUJ3J8P/s9Yl22tmHNzszcBx2CRAu6bt813eZ3f1Wr4RbDN7o//O+ Aqqw6pi48iRCpo9lMYjdjA/pgrJjRx3+5EtEgX1DV/2AeuSv1k42mwLjsFvLnrX+UlWH PkqmINDoNX9YNTrB6BrsWr1HXCX2ZFym0yBy/IMjsZWo6A0nUfWcMTgYd7XNpoNuYboc xP4ZK6CVPWIAM+BM+W6DIAbIvGFH37vROLChTPLDVxv1U/w4Ms83pSHCZtjYfl0sw4RG nXHg== X-Gm-Message-State: AOAM531O5z5dLGaOd3gos243Z6ScDpEQCGJKQLvPn602dYE3fyiRjQL8 F53+THSsYgLgH4K5Lzzc/Kc= X-Google-Smtp-Source: ABdhPJy5lGH/tYqPPbkDYvtz5T/rLJd3t9eBS08tH8IUdt8nmRyLyJeWG7aIVRzs66sjLf98C8ytww== X-Received: by 2002:a5d:4c52:: with SMTP id n18mr12966567wrt.295.1626095354808; Mon, 12 Jul 2021 06:09:14 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id b12sm14426802wrx.60.2021.07.12.06.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 06:09:09 -0700 (PDT) From: luca.boccassi@gmail.com To: Kalesh AP Cc: Venkat Duvvuru , Ajit Khaparde , dpdk stable Date: Mon, 12 Jul 2021 14:04:05 +0100 Message-Id: <20210712130551.2462159-10-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: remove unnecessary code' 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/3d3770a60f4582750cd8a3a78307db4418208de0 Thanks. Luca Boccassi --- >From 3d3770a60f4582750cd8a3a78307db4418208de0 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Mon, 31 May 2021 12:56:38 +0530 Subject: [PATCH] net/bnxt: remove unnecessary code [ upstream commit b93fe4db51c102f5fdb775c28b998197e6fb75c7 ] Also removed a log message which does not convey any useful information. Fixes: d24610f7bfda ("net/bnxt: allow flow creation when RSS is enabled") Signed-off-by: Kalesh AP Reviewed-by: Venkat Duvvuru Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_flow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/bnxt/bnxt_flow.c b/drivers/net/bnxt/bnxt_flow.c index 14789b9472..83b92845a2 100644 --- a/drivers/net/bnxt/bnxt_flow.c +++ b/drivers/net/bnxt/bnxt_flow.c @@ -953,7 +953,7 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic, /* RSS context is required only when there is more than one RSS ring */ if (vnic->rx_queue_cnt > 1) { - rc = bnxt_hwrm_vnic_ctx_alloc(bp, vnic, 0 /* ctx_idx 0 */); + rc = bnxt_hwrm_vnic_ctx_alloc(bp, vnic, 0); if (rc) { rte_flow_error_set(error, -rc, RTE_FLOW_ERROR_TYPE_ACTION, @@ -961,8 +961,6 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic, "Failed to alloc VNIC context"); goto ret; } - } else { - PMD_DRV_LOG(DEBUG, "No RSS context required\n"); } if (rx_offloads & DEV_RX_OFFLOAD_VLAN_STRIP) -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-12 13:41:37.395380583 +0100 +++ 0010-net-bnxt-remove-unnecessary-code.patch 2021-07-12 13:41:36.186116278 +0100 @@ -1 +1 @@ -From b93fe4db51c102f5fdb775c28b998197e6fb75c7 Mon Sep 17 00:00:00 2001 +From 3d3770a60f4582750cd8a3a78307db4418208de0 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b93fe4db51c102f5fdb775c28b998197e6fb75c7 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 9b4780773a..d23f8cff6c 100644 +index 14789b9472..83b92845a2 100644