[PATCH 3/6] RDMA/srpt: remove the handling of last WQE reached event
Max Gurtovoy
mgurtovoy at nvidia.com
Mon Jun 17 17:10:31 PDT 2024
This event is handled by the RDMA core layer.
Signed-off-by: Max Gurtovoy <mgurtovoy at nvidia.com>
---
drivers/infiniband/ulp/srpt/ib_srpt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c
index 9632afbd727b..8503f56b5202 100644
--- a/drivers/infiniband/ulp/srpt/ib_srpt.c
+++ b/drivers/infiniband/ulp/srpt/ib_srpt.c
@@ -231,11 +231,6 @@ static void srpt_qp_event(struct ib_event *event, void *ptr)
else
ib_cm_notify(ch->ib_cm.cm_id, event->event);
break;
- case IB_EVENT_QP_LAST_WQE_REACHED:
- pr_debug("%s-%d, state %s: received Last WQE event.\n",
- ch->sess_name, ch->qp->qp_num,
- get_ch_state_name(ch->state));
- break;
default:
pr_err("received unrecognized IB QP event %d\n", event->event);
break;
--
2.18.1
More information about the Linux-nvme
mailing list