Skip to content

Commit

Permalink
NTB: Schedule to receive on QP link up
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Allen Hubbe authored and Jon Mason committed Aug 9, 2015
1 parent 260bee9 commit 8b5a22d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/ntb/ntb_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,8 @@ static void ntb_qp_link_work(struct work_struct *work)

if (qp->event_handler)
qp->event_handler(qp->cb_data, qp->link_is_up);

tasklet_schedule(&qp->rxc_db_work);
} else if (nt->link_is_up)
schedule_delayed_work(&qp->link_work,
msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT));
Expand Down

0 comments on commit 8b5a22d

Please sign in to comment.