hv_netvsc: drop common code until callback model fixed
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Jun 2018 19:44:54 +0000 (12:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jun 2018 22:22:28 +0000 (15:22 -0700)
commit8cde8f0c0c03f9f7440f3d71a74d7cc35083f281
tree3002ca41a8347139f228b3cc10727dfe657ad96a
parent01a1a170da677d85ced3438f09369293e812c8b1
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>
drivers/net/hyperv/Kconfig
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c