diff mbox series

[3/6] RDMA/srpt: remove the handling of last WQE reached event

Message ID 20240618001034.22681-4-mgurtovoy@nvidia.com (mailing list archive)
State Superseded
Headers show
Series Last WQE Reached event treatment | expand

Commit Message

Max Gurtovoy June 18, 2024, 12:10 a.m. UTC
This event is handled by the RDMA core layer.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
---
 drivers/infiniband/ulp/srpt/ib_srpt.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Bart Van Assche June 18, 2024, 4:08 p.m. UTC | #1
On 6/17/24 5:10 PM, Max Gurtovoy wrote:
> This event is handled by the RDMA core layer.
> 
> Signed-off-by: Max Gurtovoy <mgurtovoy@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;

Acked-by: Bart Van Assche <bvanassche@acm.org>
diff mbox series

Patch

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;