summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorAllen Hubbe <Allen.Hubbe@emc.com>2015-07-13 14:07:12 +0200
committerJon Mason <jdmason@kudzu.us>2015-08-09 22:32:22 +0200
commit8b5a22d8f18496f5921ccb92554a7051cbfd9b0c (patch)
treeab2e106c5fc57fe81012c26740f8f0058cb5c676 /drivers/ntb
parentNTB: Fix oops in debugfs when transport is half-up (diff)
downloadlinux-8b5a22d8f18496f5921ccb92554a7051cbfd9b0c.tar.xz
linux-8b5a22d8f18496f5921ccb92554a7051cbfd9b0c.zip
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>
Diffstat (limited to 'drivers/ntb')
-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));