]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add flow counters binding support
authorRaed Salem <raeds@mellanox.com>
Thu, 31 May 2018 13:43:39 +0000 (16:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sat, 2 Jun 2018 04:35:32 +0000 (07:35 +0300)
commitcb16afa0dd8302f5ae088a92804adad4e7e01d7d
treec3ddeb7941981e4f1029110cdee3ff63946e0f45
parent98078ac6a6de173d60e50e8c2dddd27d8cd0a712
IB/mlx5: Add flow counters binding support

Associates a counters with a flow when IB_FLOW_SPEC_ACTION_COUNT is part
of the flow specifications.

The counters user space placements of location and description (index,
description) pairs are passed as private data of the counters flow
specification.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
include/linux/mlx5/fs.h
include/uapi/rdma/mlx5-abi.h