diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2022-06-30 14:04:18 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-07-22 17:43:00 -0300 |
commit | 930119a1720075d15e4c1e478b2b9412cd9eb6ad (patch) | |
tree | 1845fe390ebac33807690f2c00fa77a8cf4b0fe2 /drivers/infiniband/sw/rxe/rxe_qp.c | |
parent | RDMA/rxe: For invalidate compare according to set keys in mr (diff) | |
download | linux-dev-930119a1720075d15e4c1e478b2b9412cd9eb6ad.tar.xz linux-dev-930119a1720075d15e4c1e478b2b9412cd9eb6ad.zip |
RDMA/rxe: Add rxe_is_fenced() subroutine
The code thc that decides whether to defer execution of a wqe in
rxe_requester.c is isolated into a subroutine rxe_is_fenced() and removed
from the call to req_next_wqe(). The condition whether a wqe should be
fenced is changed to comply with the IBA. Currently an operation is fenced
if the fence bit is set in the wqe flags and the last wqe has not
completed. For normal operations the IBA actually only requires that the
last read or atomic operation is complete.
Link: https://lore.kernel.org/r/20220630190425.2251-2-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_qp.c')
0 files changed, 0 insertions, 0 deletions