Skip to content

Commit 8b5a22d

Browse files
Allen Hubbejonmason
authored andcommitted
NTB: Schedule to receive on QP link up
Schedule to receive on QP link up, to make sure that the doorbell is properly cleared for interrupts. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 260bee9 commit 8b5a22d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/ntb/ntb_transport.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,8 @@ static void ntb_qp_link_work(struct work_struct *work)
895895

896896
if (qp->event_handler)
897897
qp->event_handler(qp->cb_data, qp->link_is_up);
898+
899+
tasklet_schedule(&qp->rxc_db_work);
898900
} else if (nt->link_is_up)
899901
schedule_delayed_work(&qp->link_work,
900902
msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT));

0 commit comments

Comments
 (0)