RDMA/bnxt_re: Allow bigger MR creation
authorSelvin Xavier <selvin.xavier@broadcom.com>
Thu, 7 Jan 2021 09:43:28 +0000 (01:43 -0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 18 Jan 2021 20:56:09 +0000 (16:56 -0400)
commitc930af5ab4311f1f47601db289debee20ac19c1c
tree52dceb42a59fd069164a3a37c916e0cb2b09d9be
parentf6919d56388c95dba2e630670a77c380e4616c50
RDMA/bnxt_re: Allow bigger MR creation

Allow users to create bigger MRs. Remove the check that prevented creating
MRs with number of pages more than 512.

Link: https://lore.kernel.org/r/1610012608-14528-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/qplib_sp.c