From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC114A0093 for ; Tue, 19 May 2020 15:12:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B1F8E1D738; Tue, 19 May 2020 15:12:37 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 61D061D702 for ; Tue, 19 May 2020 15:12:36 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id i15so15802990wrx.10 for ; Tue, 19 May 2020 06:12:36 -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=ZNtO1GpW6Avb5kZXPX7SNrLC6PVgxKUUXRwo6c/MaxA=; b=tllWDUveOHRUkJ/Ozo4zfzL6jE4V0y/sgBQeMfwIasnwt46HZMumCf8xprxk8lbMSr bO7UQnOxM3NBh6lR3slBmPZf8E8HT3hQyw3c4lT2bv/fH4U4bQIQLxpMB56WijDPAIdm wln21qsFksHPuKKhqujZEmDM07Lfe7OZapClXMwXYDx5l6s0PcxBw/HxuuWMKqMeMwoW JO5/9MZEJkgsh5muvLZJMOrvuOPUV318ROwRXcCHozQk6/GFtO9YEu3/4MKCM/NXo5Mm 2vfsLzpzS2GKIdpdqcsO28WOV7jBYxlz+y0Keu7DgcglHBBBVUHvXwv7mfvWFR0fb6Oe dOyg== 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=ZNtO1GpW6Avb5kZXPX7SNrLC6PVgxKUUXRwo6c/MaxA=; b=PYQRuktW7LRHpMxq92bhiBqpZXf+Jt2hv34rph5lhHOqYNdgfGrsQgzmt9TncFbM4V 0e1YV4SFlMatSeZ2NsgFVzYMhlT96b9dLVPiyRYk2Tzt/cQK0xTsd2PWn6WhiR8Xa13N gwhUh5LNpNYLi2Zx9PEbPINI//OUInQSYnVoLGKBpMc4LlXmrMC2SIHHWdVTAnsmRPpS sFlVJfIh8zBAgClwIseD1YV6FSeWt9RLcNvqxxVGF3+2Dh4nY5Aht81PLTx8F3/8dgFC NuXZ/KQEiJWdS85ZuWfL+bJQHiWZ0zdVtyDcTKJnGieKTusMT6RWF8XMOv2+JK2luRZg 1pWg== X-Gm-Message-State: AOAM5325+UabaXJjQn2q2vyjk/nBDyEsV/KLZSMOo6jj1ziz6U4+jlGk qWB4dcvkc9oLWynuNNtuyL6Juzb7SnuGXdFN X-Google-Smtp-Source: ABdhPJzGnbyHIRXtjXZzTnlbTg3BeIU9aBy1DTyPaMzqQGLgv35nFj3AdnTKBn86Va55qSiM9iiE/A== X-Received: by 2002:adf:f6c4:: with SMTP id y4mr27564711wrp.81.1589893956177; Tue, 19 May 2020 06:12:36 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id b145sm4314245wme.41.2020.05.19.06.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:12:35 -0700 (PDT) From: luca.boccassi@gmail.com To: Kalesh AP Cc: Somnath Kotur , dpdk stable Date: Tue, 19 May 2020 14:04:22 +0100 Message-Id: <20200519130549.112823-127-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnxt: fix VNIC Rx queue count on VNIC free' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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.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 05/21/20. 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. Thanks. Luca Boccassi --- >From 26467e800b4f5281c41fa7ed3f61181d272cff99 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Thu, 23 Apr 2020 20:32:24 +0530 Subject: [PATCH] net/bnxt: fix VNIC Rx queue count on VNIC free [ upstream commit bc75bdb60f4ea3eea4de76a60312711447055852 ] bnxt_free_one_vnic and bnxt_setup_one_vnic are called on configuring port vlan stripping. bnxt_setup_one_vnic keeps incrementing the vnic rx_queue_cnt. Fix to reset vnic rx_queue_cnt in bnxt_free_one_vnic. Fixes: cfadfee41ed1 ("net/bnxt: fix VLAN strip") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 90e65d1a56..d05c291592 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1940,6 +1940,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id) rte_free(vnic->fw_grp_ids); vnic->fw_grp_ids = NULL; + vnic->rx_queue_cnt = 0; + return 0; } -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:49.654603444 +0100 +++ 0127-net-bnxt-fix-VNIC-Rx-queue-count-on-VNIC-free.patch 2020-05-19 14:04:44.440652433 +0100 @@ -1,14 +1,15 @@ -From bc75bdb60f4ea3eea4de76a60312711447055852 Mon Sep 17 00:00:00 2001 +From 26467e800b4f5281c41fa7ed3f61181d272cff99 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Thu, 23 Apr 2020 20:32:24 +0530 Subject: [PATCH] net/bnxt: fix VNIC Rx queue count on VNIC free +[ upstream commit bc75bdb60f4ea3eea4de76a60312711447055852 ] + bnxt_free_one_vnic and bnxt_setup_one_vnic are called on configuring port vlan stripping. bnxt_setup_one_vnic keeps incrementing the vnic rx_queue_cnt. Fix to reset vnic rx_queue_cnt in bnxt_free_one_vnic. Fixes: cfadfee41ed1 ("net/bnxt: fix VLAN strip") -Cc: stable@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur @@ -17,10 +18,10 @@ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c -index 6d42e3f85f..c2bee54d16 100644 +index 90e65d1a56..d05c291592 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c -@@ -2173,6 +2173,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id) +@@ -1940,6 +1940,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id) rte_free(vnic->fw_grp_ids); vnic->fw_grp_ids = NULL;