aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-19 05:46:15 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-19 05:46:15 +0000
commit742fb4f669adf1bdb9021349da978868cfdc8f1a (patch)
tree897a1dc582b735f071ed93b6ddd0f4aebecfb804 /sys/dev/hyperv/include
parentf1ff88cf8c37c0224c940c822f486de9229880a0 (diff)
downloadsrc-742fb4f669adf1bdb9021349da978868cfdc8f1a.tar.gz
src-742fb4f669adf1bdb9021349da978868cfdc8f1a.zip
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h2
-rw-r--r--sys/dev/hyperv/include/vmbus.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index e3cee53ad0a5..f46703582d8e 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -281,8 +281,6 @@ int hv_vmbus_channel_open(struct hv_vmbus_channel *chan,
vmbus_chan_callback_t cb, void *cbarg);
void hv_vmbus_channel_close(hv_vmbus_channel *channel);
-struct hv_vmbus_channel* vmbus_select_outgoing_channel(struct hv_vmbus_channel *promary);
-
/**
* @brief Get physical address from virtual
*/
diff --git a/sys/dev/hyperv/include/vmbus.h b/sys/dev/hyperv/include/vmbus.h
index 66887b1b7416..226c4ae04a3c 100644
--- a/sys/dev/hyperv/include/vmbus.h
+++ b/sys/dev/hyperv/include/vmbus.h
@@ -96,13 +96,14 @@ int vmbus_chan_gpadl_disconnect(struct hv_vmbus_channel *chan,
void vmbus_chan_cpu_set(struct hv_vmbus_channel *chan, int cpu);
void vmbus_chan_cpu_rr(struct hv_vmbus_channel *chan);
+struct hv_vmbus_channel *
+ vmbus_chan_cpu2chan(struct hv_vmbus_channel *chan, int cpu);
struct hv_vmbus_channel **
vmbus_subchan_get(struct hv_vmbus_channel *pri_chan, int subchan_cnt);
void vmbus_subchan_rel(struct hv_vmbus_channel **subchan, int subchan_cnt);
void vmbus_subchan_drain(struct hv_vmbus_channel *pri_chan);
-
int vmbus_chan_recv(struct hv_vmbus_channel *chan, void *data, int *dlen,
uint64_t *xactid);
int vmbus_chan_recv_pkt(struct hv_vmbus_channel *chan,