RE: [rdma-rc PATCH 2/2] iw_cxgb4: cq/qp mask depends on bar2 pages in a host page

2019-02-14 Thread Steve Wise
v@vger.kernel.org; sw...@opengridcomputing.com > Subject: Re: [rdma-rc PATCH 2/2] iw_cxgb4: cq/qp mask depends on bar2 > pages in a host page > > On Thursday, February 02/14/19, 2019 at 15:41:34 +, Jason Gunthorpe > wrote: > > On Thu, Feb 14, 2019 at 05:40:54PM +0530, Raju Rangoju wrote: >

Re: [rdma-rc PATCH 2/2] iw_cxgb4: cq/qp mask depends on bar2 pages in a host page

2019-02-14 Thread Raju Rangoju
On Thursday, February 02/14/19, 2019 at 15:41:34 +, Jason Gunthorpe wrote: > On Thu, Feb 14, 2019 at 05:40:54PM +0530, Raju Rangoju wrote: > > Adjust the cq/qp mask based on no.of bar2 pages in a host page. > > > > For user-mode rdma, the granularity of the BAR2 memory mapped > > to a user rdm

Re: [rdma-rc PATCH 2/2] iw_cxgb4: cq/qp mask depends on bar2 pages in a host page

2019-02-14 Thread Jason Gunthorpe
On Thu, Feb 14, 2019 at 05:40:54PM +0530, Raju Rangoju wrote: > Adjust the cq/qp mask based on no.of bar2 pages in a host page. > > For user-mode rdma, the granularity of the BAR2 memory mapped > to a user rdma process during queue allocation must be based > on the host page size. The lld attribut