Re: [PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-30 Thread Jason Gunthorpe
On Wed, May 30, 2018 at 06:24:00PM +0300, Yishai Hadas wrote: > On 5/30/2018 6:06 PM, Jason Gunthorpe wrote: > >On Wed, May 30, 2018 at 03:31:34PM +0300, Yishai Hadas wrote: > >>On 5/29/2018 10:56 PM, Jason Gunthorpe wrote: > >>>On Tue, May 29, 2018 at 04:09:15PM +0300, Leon Romanovsky wrote: > >>>

Re: [PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-30 Thread Yishai Hadas
On 5/30/2018 6:06 PM, Jason Gunthorpe wrote: On Wed, May 30, 2018 at 03:31:34PM +0300, Yishai Hadas wrote: On 5/29/2018 10:56 PM, Jason Gunthorpe wrote: On Tue, May 29, 2018 at 04:09:15PM +0300, Leon Romanovsky wrote: diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h ind

Re: [PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-30 Thread Jason Gunthorpe
On Wed, May 30, 2018 at 03:31:34PM +0300, Yishai Hadas wrote: > On 5/29/2018 10:56 PM, Jason Gunthorpe wrote: > >On Tue, May 29, 2018 at 04:09:15PM +0300, Leon Romanovsky wrote: > >>diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h > >>index 508ea8c82da7..ef3f430a7050 100644

Re: [PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-30 Thread Yishai Hadas
On 5/29/2018 10:56 PM, Jason Gunthorpe wrote: On Tue, May 29, 2018 at 04:09:15PM +0300, Leon Romanovsky wrote: diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 508ea8c82da7..ef3f430a7050 100644 +++ b/include/uapi/rdma/mlx5-abi.h @@ -443,4 +443,18 @@ enum { enum {

Re: [PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-29 Thread Jason Gunthorpe
On Tue, May 29, 2018 at 04:09:15PM +0300, Leon Romanovsky wrote: > diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h > index 508ea8c82da7..ef3f430a7050 100644 > +++ b/include/uapi/rdma/mlx5-abi.h > @@ -443,4 +443,18 @@ enum { > enum { > MLX5_IB_CLOCK_INFO_V1

[PATCH mlx5-next v2 11/13] IB/mlx5: Add flow counters binding support

2018-05-29 Thread Leon Romanovsky
From: Raed Salem 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. Tested-by: Michael Gural