RDMA/ocrdma: Remove fbo from MR
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 4 Sep 2020 22:41:58 +0000 (19:41 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 11 Sep 2020 13:24:54 +0000 (10:24 -0300)
commit1d4299ed774205cfe4218a351834a137853fa9c2
treede78e2b3362b5ba65407d1dd202cc1b46c328370
parentb3003a74456f0c1f614a46c07e16abe33bfdd087
RDMA/ocrdma: Remove fbo from MR

This is always the same value as IOVA masked by the page size, just use
that clearer calculation directly.

It is unclear of ocrdma hardware can actually support a true fbo, if so it
could use a different algorithm to compute the best page size.

Link: https://lore.kernel.org/r/17-v2-270386b7e60b+28f4-umem_1_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/ocrdma/ocrdma.h
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c