From: Dariusz Sosnowski <dsosnowski@nvidia.com>
To: Matan Azrad <matan@nvidia.com>,
Viacheslav Ovsiienko <viacheslavo@nvidia.com>,
Ori Kam <orika@nvidia.com>, Suanming Mou <suanmingm@nvidia.com>
Cc: <dev@dpdk.org>
Subject: [PATCH 0/2] net/mlx5: fix counter object leaks
Date: Tue, 27 Jun 2023 11:27:44 +0300 [thread overview]
Message-ID: <20230627082746.2466304-1-dsosnowski@nvidia.com> (raw)
This patch series fixes the issue where after a long cycle of
inserting/deleting flow rules using COUNT actions,
mlx5_hws_cnt_pool_get() started returning either -EAGAIN or -ENOENT.
Root cause of the issue was the fact that some counter
objects were not properly returned to the shared counter pool.
Dariusz Sosnowski (2):
net/mlx5: fix queue used to deallocate counter
net/mlx5: fix counter allocation from shared pool
drivers/net/mlx5/mlx5_flow_hw.c | 14 +++++++++-----
drivers/net/mlx5/mlx5_hws_cnt.h | 17 +++++++++++++++++
2 files changed, 26 insertions(+), 5 deletions(-)
--
2.25.1
next reply other threads:[~2023-06-27 8:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 8:27 Dariusz Sosnowski [this message]
2023-06-27 8:27 ` [PATCH 1/2] net/mlx5: fix queue used to deallocate counter Dariusz Sosnowski
2023-06-27 8:27 ` [PATCH 2/2] net/mlx5: fix counter allocation from shared pool Dariusz Sosnowski
2023-07-02 14:41 ` [PATCH 0/2] net/mlx5: fix counter object leaks Raslan Darawsheh
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230627082746.2466304-1-dsosnowski@nvidia.com \
--to=dsosnowski@nvidia.com \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=orika@nvidia.com \
--cc=suanmingm@nvidia.com \
--cc=viacheslavo@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).