aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-07-09 11:57:21 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-07-09 11:57:21 +0000
commit59850913b254aa76c2965e3fd3c31817c27fd4b1 (patch)
tree8e5ed8ef4255a3da0585b879035005eeb4d2ee51 /sys/dev/ntb/ntb_transport.c
parentf31eea5c49016579335b1a660771f9c3c767cc21 (diff)
downloadsrc-59850913b254aa76c2965e3fd3c31817c27fd4b1.tar.gz
src-59850913b254aa76c2965e3fd3c31817c27fd4b1.zip
Reimplement doorbell register emulation for NTB_SB01BASE_LOCKUP.
This allows at least first three doorbells to work very close to normal hardware, properly signaling events to upper layers without spurious or lost events. Doorbells above the first three may still report spurious events due to lack of reliable information, but they are rarely used.
Notes
Notes: svn path=/head/; revision=302493
Diffstat (limited to 'sys/dev/ntb/ntb_transport.c')
-rw-r--r--sys/dev/ntb/ntb_transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ntb/ntb_transport.c b/sys/dev/ntb/ntb_transport.c
index 318f73a46bd2..463a2c29cacc 100644
--- a/sys/dev/ntb/ntb_transport.c
+++ b/sys/dev/ntb/ntb_transport.c
@@ -1215,7 +1215,6 @@ ntb_qp_link_work(void *arg)
qp->event_handler(qp->cb_data, NTB_LINK_UP);
NTB_DB_CLEAR_MASK(ntb, 1ull << qp->qp_num);
- taskqueue_enqueue(qp->rxc_tq, &qp->rxc_db_work);
} else if (nt->link_is_up)
callout_reset(&qp->link_work,
NTB_LINK_DOWN_TIMEOUT * hz / 1000, ntb_qp_link_work, qp);