aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-13 04:31:08 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-13 04:31:08 +0000
commitd74e22ed4a65cd38f54b453ad6f70b0cb4c6fe92 (patch)
tree4751607578351721e01cad49582be03b55d0a216 /sys/dev/hyperv/include
parent4ac0a9bf1eca0c84802ccea95d9b35ebc36ef713 (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index 74664fe40167..19880fc3aa28 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -538,6 +538,7 @@ typedef struct hv_vmbus_channel {
struct vmbus_softc *vmbus_sc;
hv_vmbus_channel_state state;
hv_vmbus_channel_offer_channel offer_msg;
+ uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */
uint32_t ch_id; /* channel id */
/*
* These are based on the offer_msg.monitor_id.
@@ -636,6 +637,8 @@ typedef struct hv_vmbus_channel {
#define HV_VMBUS_CHAN_ISPRIMARY(chan) ((chan)->primary_channel == NULL)
+#define VMBUS_CHAN_FLAG_HASMNF 0x0001
+
static inline void
hv_set_channel_read_state(hv_vmbus_channel* channel, boolean_t state)
{