Commit f6c43915 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Greg Kroah-Hartman

vmbus: remove no longer used signal_policy

The explicit signal policy is no longer used. A different mechanism
will be added later when xmit_more is supported.
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b103a56f
...@@ -684,11 +684,6 @@ struct hv_input_signal_event_buffer { ...@@ -684,11 +684,6 @@ struct hv_input_signal_event_buffer {
struct hv_input_signal_event event; struct hv_input_signal_event event;
}; };
enum hv_signal_policy {
HV_SIGNAL_POLICY_DEFAULT = 0,
HV_SIGNAL_POLICY_EXPLICIT,
};
enum hv_numa_policy { enum hv_numa_policy {
HV_BALANCED = 0, HV_BALANCED = 0,
HV_LOCALIZED, HV_LOCALIZED,
...@@ -850,13 +845,6 @@ struct vmbus_channel { ...@@ -850,13 +845,6 @@ struct vmbus_channel {
* link up channels based on their CPU affinity. * link up channels based on their CPU affinity.
*/ */
struct list_head percpu_list; struct list_head percpu_list;
/*
* Host signaling policy: The default policy will be
* based on the ring buffer state. We will also support
* a policy where the client driver can have explicit
* signaling control.
*/
enum hv_signal_policy signal_policy;
/* /*
* On the channel send side, many of the VMBUS * On the channel send side, many of the VMBUS
* device drivers explicity serialize access to the * device drivers explicity serialize access to the
...@@ -918,12 +906,6 @@ static inline bool is_hvsock_channel(const struct vmbus_channel *c) ...@@ -918,12 +906,6 @@ static inline bool is_hvsock_channel(const struct vmbus_channel *c)
VMBUS_CHANNEL_TLNPI_PROVIDER_OFFER); VMBUS_CHANNEL_TLNPI_PROVIDER_OFFER);
} }
static inline void set_channel_signal_state(struct vmbus_channel *c,
enum hv_signal_policy policy)
{
c->signal_policy = policy;
}
static inline void set_channel_affinity_state(struct vmbus_channel *c, static inline void set_channel_affinity_state(struct vmbus_channel *c,
enum hv_numa_policy policy) enum hv_numa_policy policy)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment