DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Suanming Mou <suanmingm@nvidia.com>
Cc: viacheslavo@nvidia.com, matan@nvidia.com, rasland@nvidia.com,
	dev@dpdk.org, asafp@nvidia.com
Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix counter offset support discover
Date: Fri, 13 Nov 2020 20:13:31 +0100	[thread overview]
Message-ID: <29644634.5ndoGRFaNu@thomas> (raw)
In-Reply-To: <1605171103-312387-1-git-send-email-suanmingm@nvidia.com>

12/11/2020 09:51, Suanming Mou:
> Currently, the counter offset support is discovered by creating the
> rule with invalid offset counter and jump action in root table. If
> the rule creation fails with EINVAL errno, that mean counter offset
> is not supported in root table.
> 
> However, jump action may not be supported in some rdma-core version.
> In this case, the discover code will not work properly.
> 
> This commits changes the jump action to generic drop action. That
> makes the discover code to be more compatible.
> 
> Fixes: 994829e695c0 ("net/mlx5: remove single counter container")
> 
> Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
> Acked-by: Matan Azrad <matan@nvidia.com>

Applied as "net/mlx5: fix detection of counter offset support"
in next-net-mlx, thanks.




      reply	other threads:[~2020-11-13 19:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-12  8:51 Suanming Mou
2020-11-13 19:13 ` Thomas Monjalon [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=29644634.5ndoGRFaNu@thomas \
    --to=thomas@monjalon.net \
    --cc=asafp@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=rasland@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).