diff options
author | Allen Hubbe <Allen.Hubbe@emc.com> | 2015-07-13 08:07:12 -0400 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2015-08-09 16:32:22 -0400 |
commit | 8b5a22d8f18496f5921ccb92554a7051cbfd9b0c (patch) | |
tree | ab2e106c5fc57fe81012c26740f8f0058cb5c676 | |
parent | 260bee9451b4f0f5f9845c5b3024f0bfb8de8f22 (diff) |
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>
-rw-r--r-- | drivers/ntb/ntb_transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index a049f96fab8d..b82171e3e07d 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers/ntb/ntb_transport.c | |||
@@ -895,6 +895,8 @@ static void ntb_qp_link_work(struct work_struct *work) | |||
895 | 895 | ||
896 | if (qp->event_handler) | 896 | if (qp->event_handler) |
897 | qp->event_handler(qp->cb_data, qp->link_is_up); | 897 | qp->event_handler(qp->cb_data, qp->link_is_up); |
898 | |||
899 | tasklet_schedule(&qp->rxc_db_work); | ||
898 | } else if (nt->link_is_up) | 900 | } else if (nt->link_is_up) |
899 | schedule_delayed_work(&qp->link_work, | 901 | schedule_delayed_work(&qp->link_work, |
900 | msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT)); | 902 | msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT)); |