patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Andrew Rybchenko <>
Cc: Ivan Ilchenko <>,
Subject: [dpdk-stable] [PATCH 04/11] net/sfc: fix cleanup order of SW stats
Date: Tue, 28 Sep 2021 14:29:05 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Ivan Ilchenko <>

Fix cleanup order of SW stats structures to be reversed
to initialization order.

Fixes: fdd7719eb3c ("net/sfc: add xstats for Rx/Tx doorbells")

Signed-off-by: Ivan Ilchenko <>
Signed-off-by: Andrew Rybchenko <>
 drivers/net/sfc/sfc_sw_stats.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/sfc/sfc_sw_stats.c b/drivers/net/sfc/sfc_sw_stats.c
index 108f301822..c297bb8294 100644
--- a/drivers/net/sfc/sfc_sw_stats.c
+++ b/drivers/net/sfc/sfc_sw_stats.c
@@ -566,8 +566,7 @@ sfc_sw_xstats_init(struct sfc_adapter *sa)
 sfc_sw_xstats_close(struct sfc_adapter *sa)
+	sfc_sw_xstats_free_queues_bitmap(sa);
 	sa->sw_stats.reset_vals = NULL;
-	sfc_sw_xstats_free_queues_bitmap(sa);

       reply	other threads:[~2021-09-28 11:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2021-09-28 11:29 ` Andrew Rybchenko [this message]
2021-09-28 11:29 ` [dpdk-stable] [PATCH 05/11] net/sfc: fix missing const of SW stats descriptions Andrew Rybchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).