Re: [PATCH 10/10] IB: remove the unused usecnt field from struct ib_mr

Or Gerlitz
2015-12-20T07:25:05Z

On 12/18/2015 3:55 PM, Christoph Hellwig wrote:
>
> diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
> index 284916d..e45776e 100644
> --- a/include/rdma/ib_verbs.h
> +++ b/include/rdma/ib_verbs.h
> @@ -1306,7 +1306,6 @@ struct ib_mr {
> u64 iova;
> u32 length;
> unsigned int page_size;
> - atomic_t usecnt; /* count number of MWs */
> };

This comment is part of Roland's uverbs commit.

I wonder if LL driver supporting the IB_WR_BIND_MW op
ref the MR on port send and deref it on completion?

Or.

>
> struct ib_mw {
> -- 1.9.1