summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-11-11 08:43:34 +0000
committersephe <sephe@FreeBSD.org>2016-11-11 08:43:34 +0000
commit49761d22ca93c1e84812b44c7cbec024f0eb43c2 (patch)
treeb16b39c98deca4277d397f03be6f2ca19c37f633 /sys/dev/hyperv/include
parentd303e48e5c403780a91dfbb42fe88d4af6432c59 (diff)
downloadFreeBSD-src-49761d22ca93c1e84812b44c7cbec024f0eb43c2.zip
FreeBSD-src-49761d22ca93c1e84812b44c7cbec024f0eb43c2.tar.gz
MFC 307624
hyperv/vmbus: Expose channel management taskqueue for driver to use. MFC after: 3 days Sponsored by: Microsoft
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/vmbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h
index e4cb78e..4dd0a9a 100644
--- a/sys/dev/hyperv/include/vmbus.h
+++ b/sys/dev/hyperv/include/vmbus.h
@@ -118,6 +118,7 @@ struct vmbus_chan_br {
struct vmbus_channel;
struct hyperv_guid;
struct task;
+struct taskqueue;
typedef void (*vmbus_chan_callback_t)(struct vmbus_channel *, void *);
@@ -179,5 +180,7 @@ int vmbus_chan_prplist_nelem(int br_size, int prpcnt_max,
int dlen_max);
bool vmbus_chan_rx_empty(const struct vmbus_channel *chan);
bool vmbus_chan_tx_empty(const struct vmbus_channel *chan);
+struct taskqueue *
+ vmbus_chan_mgmt_tq(const struct vmbus_channel *chan);
#endif /* !_VMBUS_H_ */
OpenPOWER on IntegriCloud