summaryrefslogtreecommitdiff
path: root/drivers/infiniband/sw/rxe/rxe_req.c
diff options
context:
space:
mode:
authorMd Haris Iqbal <haris.phnx@gmail.com>2022-07-07 09:30:06 +0200
committerJason Gunthorpe <jgg@nvidia.com>2022-07-22 17:35:53 -0300
commit174e7b137042f19b5ce88beb4fc0ff4ec6b0c72a (patch)
treea8dcaec4ed033fc0b760518e50886bc4cdda9c6b /drivers/infiniband/sw/rxe/rxe_req.c
parent8937e28eac0cbe0ff76e15f142e4b2e5adf3f462 (diff)
RDMA/rxe: For invalidate compare according to set keys in mr
The 'rkey' input can be an lkey or rkey, and in rxe the lkey or rkey have the same value, including the variant bits. So, if mr->rkey is set, compare the invalidate key with it, otherwise compare with the mr->lkey. Since we already did a lookup on the non-varient bits to get this far, the check's only purpose is to confirm that the wqe has the correct variant bits. Fixes: 001345339f4c ("RDMA/rxe: Separate HW and SW l/rkeys") Link: https://lore.kernel.org/r/20220707073006.328737-1-haris.phnx@gmail.com Signed-off-by: Md Haris Iqbal <haris.phnx@gmail.com> Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_req.c')
0 files changed, 0 insertions, 0 deletions