From e41136c060eb7a4290a64a3a23f98e3c1655a104 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Wed, 19 Oct 2016 09:12:14 +0000 Subject: hyperv/vmbus: Expose channel management taskqueue for driver to use. MFC after: 3 days Sponsored by: Microsoft --- sys/dev/hyperv/include/vmbus.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/hyperv/include') diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h index e4cb78e60428..4dd0a9a39b19 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_ */ -- cgit v1.2.3