summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_opcode.h
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2021-06-07 23:25:46 -0500
committerJason Gunthorpe <jgg@nvidia.com>2021-06-16 20:51:17 -0300
commitaf732adfacb2c6d886713624af2ff8e555c32aa4 (patch)
treeb180e30ac0bae2397243a22aacd57f1fbeaade62 /drivers/infiniband/sw/rxe/rxe_opcode.h
parent08224016abde5ddca25bb976a66c974b2e2bdbed (diff)
downloadlinux-af732adfacb2c6d886713624af2ff8e555c32aa4.tar.bz2
RDMA/rxe: Enable MW object pool
Currently the rxe driver has a rxe_mw struct object but nothing about memory windows is enabled. This patch turns on memory windows and some minor cleanup. Set device attribute in rxe.c so max_mw = MAX_MW. Change parameters in rxe_param.h so that MAX_MW is the same as MAX_MR. Reduce the number of MRs and MWs to 4K from 256K. Add device capability bits for 2a and 2b memory windows. Removed RXE_MR_TYPE_MW from the rxe_mr_type enum. Link: https://lore.kernel.org/r/20210608042552.33275-4-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_opcode.h')
0 files changed, 0 insertions, 0 deletions