Re: [PATCH rdma-next v3 05/14] IB/uverbs: Add create/destroy counters support

2018-06-01 Thread Leon Romanovsky
On Fri, Jun 01, 2018 at 02:54:36PM -0600, Jason Gunthorpe wrote: > > diff --git a/drivers/infiniband/core/uverbs_std_types_counters.c > > b/drivers/infiniband/core/uverbs_std_types_counters.c > > new file mode 100644 > > index ..a5bc50ceee13 > > +++ b/drivers/infiniband/core/uverbs_std

Re: [PATCH rdma-next v3 05/14] IB/uverbs: Add create/destroy counters support

2018-06-01 Thread Jason Gunthorpe
> diff --git a/drivers/infiniband/core/uverbs_std_types_counters.c > b/drivers/infiniband/core/uverbs_std_types_counters.c > new file mode 100644 > index ..a5bc50ceee13 > +++ b/drivers/infiniband/core/uverbs_std_types_counters.c > @@ -0,0 +1,100 @@ > +/* SPDX-License-Identifier: ((GPL-

[PATCH rdma-next v3 05/14] IB/uverbs: Add create/destroy counters support

2018-05-31 Thread Leon Romanovsky
From: Raed Salem User space application which uses counters functionality, is expected to allocate/release the counters resources by calling create/destroy verbs and in turn get a unique handle that can be used to attach the counters to its counted type. Reviewed-by: Yishai Hadas Signed-off-by: