diff options
| author | Bob Pearson <[email protected]> | 2023-06-12 16:22:45 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2023-06-20 15:46:18 +0000 |
| commit | 350b6dd4b2f876f1aa0d45a422b17b8377517762 (patch) | |
| tree | 073763566534715dd12e9e71556bce20ec476d0c /drivers/gpu/drm/lima/lima_sched.c | |
| parent | RDMA/rxe: Fixes mr access supported list (diff) | |
| download | kernel-350b6dd4b2f876f1aa0d45a422b17b8377517762.tar.gz kernel-350b6dd4b2f876f1aa0d45a422b17b8377517762.zip | |
RDMA/rxe: Simplify cq->notify code
The flags parameter to the request notify verb is a bitmask. But, rxe
driver treats cq->notify as an int. If someone ever set both the
IB_CQ_SOLICITED and the IB_CQ_NEXT_COMP bits rxe_cq_post could fail to
generate a completion event. This patch treats the notify flags as a bit
mask consistently and can handle the above case correctly.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
