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 43C22A0C47 for ; Tue, 10 Aug 2021 17:40:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E36F411C6; Tue, 10 Aug 2021 17:40:40 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by mails.dpdk.org (Postfix) with ESMTP id 4C658411CB for ; Tue, 10 Aug 2021 17:40:39 +0200 (CEST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (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-0.canonical.com (Postfix) with ESMTPS id 2FAC73F0A4 for ; Tue, 10 Aug 2021 15:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610039; bh=8MIRMZJkUi78+I5YOfqexzMSbsdEYipBowitH18NR+4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FuHgiCC/Uc+Fvu722pQeAhNmsNoMgFJ9RlGlcV4wr8P73Y2CFPS60ni+heyFtFVGA a8y5DfJ8cNfxBFhog0HT7hzidnzEByeXps9OEvSqjKTsRGvqxOm5Gmqbo/WhNCFZUC PQqXhXwbE3WAxgOc1dXJsveQte8YllsLGOLUK6PPaMGfgQw7ePcAC8wa/MFYkRARLq 1eACDowZrDHAyNq0V9z1fWcnrNAZpGxN1M2ReBYgT/ZLVvGdSYjQ9VWHxGlczUEkrn NUYO4MPRRMbgbtaz6UU5GePiWE6o9Bhrj22Ssrz6b6UbQ8OJz4g/0uy7f9vGVEADGa UTgf2ZuGtWwYQ== Received: by mail-ed1-f72.google.com with SMTP id v11-20020a056402348bb02903be68e116adso3058017edc.14 for ; Tue, 10 Aug 2021 08:40:39 -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=8MIRMZJkUi78+I5YOfqexzMSbsdEYipBowitH18NR+4=; b=da2v7HbzxP+e7VGJHTyV/UnugSDoLOufnS4/FJg4jPSZ+TQWJsQYKc7XRES9KKa0VT 9cBnXOFIVNr6aLvvcTTFZFJQMglZyS8Iptcy8+6mxQ1mCIuJ5NsyGec4NOyU4aSjmhaK gkUMXHuiQOffQJ0GdJoE7cP6Hn5KHM/HbBnHu8BfrCNWpV3/dIiWnuIPbXnbFT+pmPMp 3xFHDlcERgCLrGoErLMA/l46vIuYn+f8UDUVbtcFd/eFHXnDXqQs0VDWaU56S2ceH5ZQ AKvKrF04/6x0AUOvAkQaaEZsfQ+uOuMCzetItq4hsKQDa4jqOvRejxZIELYXiWmmLbAT 7SaA== X-Gm-Message-State: AOAM531gskuZZiDM9p+Fd+p8f4LV6Q88S5rFXKNeE7oXyHiLRMfDQO5l J0s7vT+AhwkjYQHXyRsMZsQSyNabLBmAR+Wpxi3AJhc950KMqCqF8RJHAsMqrbeDWlApQZBJJKZ izkYc2qVF8ngV8JRgq3rNCIqf X-Received: by 2002:a17:907:1b29:: with SMTP id mp41mr28518105ejc.459.1628610038871; Tue, 10 Aug 2021 08:40:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTGO/kC/CzN4NXhSaUv2UbZ/p9XyRYM3UnHPYs2Oy2Dz94uJcu+X3PGynjOJTwHPTBvmUDrg== X-Received: by 2002:a17:907:1b29:: with SMTP id mp41mr28518087ejc.459.1628610038687; Tue, 10 Aug 2021 08:40:38 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id b25sm9837155edv.9.2021.08.10.08.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:40:38 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Kalesh AP Cc: Venkat Duvvuru , Ajit Khaparde , dpdk stable Date: Tue, 10 Aug 2021 17:38:45 +0200 Message-Id: <20210810154022.749358-5-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: remove unnecessary code' 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/e3f51b8a460220553f2ed0d3f6a8d15ac6d7ca72 Thanks. Christian Ehrhardt --- >From e3f51b8a460220553f2ed0d3f6a8d15ac6d7ca72 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 ec36c6787e..c3f360d47a 100644 --- a/drivers/net/bnxt/bnxt_flow.c +++ b/drivers/net/bnxt/bnxt_flow.c @@ -950,7 +950,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, @@ -958,8 +958,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.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:13.284615426 +0200 +++ 0005-net-bnxt-remove-unnecessary-code.patch 2021-08-10 15:11:12.894637205 +0200 @@ -1 +1 @@ -From b93fe4db51c102f5fdb775c28b998197e6fb75c7 Mon Sep 17 00:00:00 2001 +From e3f51b8a460220553f2ed0d3f6a8d15ac6d7ca72 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 ec36c6787e..c3f360d47a 100644 @@ -23 +24 @@ -@@ -953,7 +953,7 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic, +@@ -950,7 +950,7 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic, @@ -32 +33 @@ -@@ -961,8 +961,6 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic, +@@ -958,8 +958,6 @@ static int bnxt_vnic_prep(struct bnxt *bp, struct bnxt_vnic_info *vnic,