diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2021-01-07 01:43:27 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-01-18 16:56:08 -0400 |
commit | f6919d56388c95dba2e630670a77c380e4616c50 (patch) | |
tree | 0ea4b8a9e3b9a3b005401709a987142cf48d94de /include/linux/compiler_attributes.h | |
parent | 1bbd4380744f637a759e0a7bb7d8d1c38282e0c3 (diff) |
RDMA/bnxt_re: Code refactor while populating user MRs
Refactor code that populates MR page buffer list. Instead of allocating a
pbl_tbl to hold the buffer list, pass the struct ib_umem directly to
bnxt_qplib_alloc_init_hwq() as done for other user space memories. Fix
the PBL level to handle the above mentioned change.
Also, remove an unwanted flag from the input to bnxt_qplib_reg_mr()
function.
Link: https://lore.kernel.org/r/1610012608-14528-2-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>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions