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 /drivers/ntb | |
parent | 260bee9451b4f0f5f9845c5b3024f0bfb8de8f22 (diff) | |
download | linux-stable-8b5a22d8f18496f5921ccb92554a7051cbfd9b0c.tar.gz linux-stable-8b5a22d8f18496f5921ccb92554a7051cbfd9b0c.tar.bz2 linux-stable-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.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) 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)); |