Commit 42e6ddda authored by Anumula Murali Mohan Reddy's avatar Anumula Murali Mohan Reddy Committed by Leon Romanovsky
Browse files

RDMA/cxgb4: Notify rdma stack for IB_EVENT_QP_LAST_WQE_REACHED event



This patch sends IB_EVENT_QP_LAST_WQE_REACHED event on a QP that is in
error state and associated with an SRQ. This behaviour is incorporated
in flush_qp() which is called when QP transitions to error state.
Supports SRQ drain functionality added by commit 844bc12e ("IB/core:
add support for draining Shared receive queues")

Fixes: 844bc12e ("IB/core: add support for draining Shared receive queues")
Signed-off-by: default avatarAnumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
Link: https://patch.msgid.link/20250107095053.81007-1-anumula@chelsio.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 9264cd6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment