ACK: [PATCH] IB/mlx5: Support flow counters offset for bulk counters

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Thu May 20 13:22:54 UTC 2021


On 20/05/2021 07:29, Tim Gardner wrote:
> From: Yevgeny Kliteynik <kliteyn at mellanox.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1922494
> 
> 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.
> 
> Link: https://lore.kernel.org/r/20191103140723.77411-1-leon@kernel.org
> Signed-off-by: Yevgeny Kliteynik <kliteyn at mellanox.com>
> Signed-off-by: Leon Romanovsky <leonro at mellanox.com>
> Reviewed-by: Mark Bloch <markb at mellanox.com>
> Signed-off-by: Jason Gunthorpe <jgg at mellanox.com>
> (cherry picked from commit 208d70f562e563226df178ff8f969364972e9e99)
> Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
> ---
>  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(-)
> 


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>


Best regards,
Krzysztof



More information about the kernel-team mailing list