From: Jason Gunthorpe <jgg@ziepe.ca>
To: Leon Romanovsky <leon@kernel.org>
Cc: Doug Ledford <dledford@redhat.com>,
Yevgeny Kliteynik <kliteyn@mellanox.com>,
RDMA mailing list <linux-rdma@vger.kernel.org>,
Leon Romanovsky <leonro@mellanox.com>
Subject: Re: [PATCH rdma-next v2] IB/mlx5: Support flow counters offset for bulk counters
Date: Wed, 13 Nov 2019 15:49:19 -0400 [thread overview]
Message-ID: <20191113194919.GA21173@ziepe.ca> (raw)
In-Reply-To: <20191103140723.77411-1-leon@kernel.org>
On Sun, Nov 03, 2019 at 04:07:23PM +0200, Leon Romanovsky wrote:
> From: Yevgeny Kliteynik <kliteyn@mellanox.com>
>
> Add support for flow steering counters action with
> a non-base counter ID (offset) for bulk counters.
>
> When creating a flow counter object, save the bulk value.
> This value is used when a flow action with a non-base
> counter ID is requested - to validate that the required
> offset is in the range of the allocated bulk.
>
> Signed-off-by: Yevgeny Kliteynik <kliteyn@mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
> Reviewed-by: Mark Bloch <markb@mellanox.com>
> ---
> Changelog
> v1->v2: https://lore.kernel.org/linux-rdma/20191029155020.20792-1-leon@kernel.org
> * Fixed mlx5_ib_devx_is_flow_counter() logic
> v0 -> v1: https://lore.kernel.org/linux-rdma/20191029055916.7322-1-leon@kernel.org
> * Change ffs to multiply bitmap
> * Changed uint32_t to be u32
> * Added offset to mlx5_ib_devx_is_flow_counter()
> ---
> drivers/infiniband/hw/mlx5/devx.c | 15 +++++++++++-
> drivers/infiniband/hw/mlx5/flow.c | 29 ++++++++++++++++++++++--
> drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +-
> include/uapi/rdma/mlx5_user_ioctl_cmds.h | 1 +
> 4 files changed, 43 insertions(+), 4 deletions(-)
Applied to for-next
Jason
prev parent reply other threads:[~2019-11-13 19:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-03 14:07 [PATCH rdma-next v2] IB/mlx5: Support flow counters offset for bulk counters Leon Romanovsky
2019-11-04 8:42 ` Mark Bloch
2019-11-06 20:21 ` Jason Gunthorpe
2019-11-07 10:11 ` Yishai Hadas
2019-11-13 19:49 ` Jason Gunthorpe [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=20191113194919.GA21173@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=dledford@redhat.com \
--cc=kliteyn@mellanox.com \
--cc=leon@kernel.org \
--cc=leonro@mellanox.com \
--cc=linux-rdma@vger.kernel.org \
/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