Re: [PATCH for-next] RDMA/rxe: Simplify cq->notify code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 12, 2023 at 11:22:45AM -0500, Bob Pearson wrote:
> 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.
> 
> Signed-off-by: Bob Pearson <rpearsonhpe@xxxxxxxxx>
> ---
>  drivers/infiniband/sw/rxe/rxe_cq.c    | 5 ++---
>  drivers/infiniband/sw/rxe/rxe_verbs.c | 5 +----
>  2 files changed, 3 insertions(+), 7 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux