IB/isert: remove the handling of last WQE reached event
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Wed, 19 Jun 2024 17:11:53 +0000 (20:11 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 26 Jun 2024 13:53:29 +0000 (10:53 -0300)
This event is raised for QPs that are associated with a Shared RQ (SRQ).
The iSER target does not support SRQ. Remove this dead code.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Link: https://lore.kernel.org/r/20240619171153.34631-3-mgurtovoy@nvidia.com
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/isert/ib_isert.c

index 00a7303c8cc60ef111e7c2e0cbc09c3c2be4ff29..42977a5326ee5341a73d7118344bbf2249dade83 100644 (file)
@@ -91,9 +91,6 @@ isert_qp_event_callback(struct ib_event *e, void *context)
        case IB_EVENT_COMM_EST:
                rdma_notify(isert_conn->cm_id, IB_EVENT_COMM_EST);
                break;
-       case IB_EVENT_QP_LAST_WQE_REACHED:
-               isert_warn("Reached TX IB_EVENT_QP_LAST_WQE_REACHED\n");
-               break;
        default:
                break;
        }