patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: Suanming Mou <suanmingm@mellanox.com>
Cc: stable@dpdk.org, rasland@nvidia.com
Subject: Re: [dpdk-stable] [PATCH 19.11] net/mlx5: fix counter query
Date: Wed, 12 Aug 2020 13:42:37 +0100	[thread overview]
Message-ID: <2193f7a294baf38f8f3d1ca1b47fc6ec0f87bf2c.camel@debian.org> (raw)
In-Reply-To: <1597136387-49015-1-git-send-email-suanmingm@mellanox.com>

On Tue, 2020-08-11 at 16:59 +0800, Suanming Mou wrote:
> [ upstream commit e1293b10dea9bbae2cb2ebc47b5066df73275e2f ]
> 
> Currently, the counter query requires the counter ID should start
> with 4 aligned. In none-batch mode, the counter pool might have the
> chance to get the counter ID not 4 aligned. In this case, the counter
> should be skipped, or the query will be failed.
> 
> Skip the counter with ID not 4 aligned as the first counter in the
> none-batch count pool to avoid invalid counter query. Once having
> new min_dcs ID in the poll less than the skipped counters, the
> skipped counters will be returned to the pool free list to use.
> 
> Fixes: 5382d28c2110 ("net/mlx5: accelerate DV flow counter transactions")
> Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.h         |  4 +-
>  drivers/net/mlx5/mlx5_flow.c    |  6 +++
>  drivers/net/mlx5/mlx5_flow_dv.c | 94 ++++++++++++++++++++++++++++++++-
>  drivers/net/mlx5/mlx5_prm.h     |  3 ++
>  4 files changed, 104 insertions(+), 3 deletions(-)

Thanks, applied and pushed.

FYI: Gmail marked this email as spam - I noticed it by coincidence.
You'll probably want to mention this to your IT folks.

-- 
Kind regards,
Luca Boccassi

      reply	other threads:[~2020-08-12 12:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11  8:59 Suanming Mou
2020-08-12 12:42 ` Luca Boccassi [this message]

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=2193f7a294baf38f8f3d1ca1b47fc6ec0f87bf2c.camel@debian.org \
    --to=bluca@debian.org \
    --cc=rasland@nvidia.com \
    --cc=stable@dpdk.org \
    --cc=suanmingm@mellanox.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).