summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Hubbe <Allen.Hubbe@emc.com>2015-07-13 08:07:12 -0400
committerJon Mason <jdmason@kudzu.us>2015-08-09 16:32:22 -0400
commit8b5a22d8f18496f5921ccb92554a7051cbfd9b0c (patch)
treeab2e106c5fc57fe81012c26740f8f0058cb5c676
parent260bee9451b4f0f5f9845c5b3024f0bfb8de8f22 (diff)
downloadlinux-8b5a22d8f18496f5921ccb92554a7051cbfd9b0c.tar.bz2
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.c2
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)
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));