aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorSridhar Samudrala <[email protected]>2018-05-24 16:55:14 +0000
committerDavid S. Miller <[email protected]>2018-05-29 02:59:54 +0000
commit1ff78076d8dd182c883e6caa285479ae7db32ef8 (patch)
tree38ed9fab1b5a1a490c0ba421627f1105af720eae /drivers/net/hyperv/hyperv_net.h
parentnet: Introduce generic failover module (diff)
downloadkernel-1ff78076d8dd182c883e6caa285479ae7db32ef8.tar.gz
kernel-1ff78076d8dd182c883e6caa285479ae7db32ef8.zip
netvsc: refactor notifier/event handling code to use the failover framework
Use the registration/notification framework supported by the generic failover infrastructure. Signed-off-by: Sridhar Samudrala <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 1be34d2e3563..99d8e7398a5b 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -932,6 +932,8 @@ struct net_device_context {
u32 vf_alloc;
/* Serial number of the VF to team with */
u32 vf_serial;
+
+ struct failover *failover;
};
/* Per channel data */