diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2018-06-11 12:44:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-12 15:22:28 -0700 |
commit | 8cde8f0c0c03f9f7440f3d71a74d7cc35083f281 (patch) | |
tree | 3002ca41a8347139f228b3cc10727dfe657ad96a /drivers/net/hyperv/hyperv_net.h | |
parent | 01a1a170da677d85ced3438f09369293e812c8b1 (diff) | |
download | linux-stable-8cde8f0c0c03f9f7440f3d71a74d7cc35083f281.tar.gz linux-stable-8cde8f0c0c03f9f7440f3d71a74d7cc35083f281.tar.bz2 linux-stable-8cde8f0c0c03f9f7440f3d71a74d7cc35083f281.zip |
hv_netvsc: drop common code until callback model fixed
The callback model of handling network failover is not suitable
in the current form.
1. It was merged without addressing all the review feedback.
2. It was merged without approval of any of the netvsc maintainers.
3. Design discussion on how to handle PV/VF fallback is still
not complete.
4. IMHO the code model using callbacks is trying to make
something common which isn't.
Revert the netvsc specific changes for now. Does not impact ongoing
development of failover model for virtio.
Revisit this after a simpler library based failover kernel
routines are extracted.
This reverts
commit 9c6ffbacdb57 ("hv_netvsc: fix error return code in netvsc_probe()")
and
commit 1ff78076d8dd ("netvsc: refactor notifier/event handling code to use the failover framework")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 23304aca25f9..9246e4562830 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -931,8 +931,6 @@ struct net_device_context { u32 vf_alloc; /* Serial number of the VF to team with */ u32 vf_serial; - - struct failover *failover; }; /* Per channel data */ |