]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite11ee93e2b62fc7abf3b17fc0b4772f4a159bf81
tree3002ca41a8347139f228b3cc10727dfe657ad96a
parentfd03f41ebffc1e927cdac1f8b79aa0e7592a4458
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 49b06480a4c2 ("hv_netvsc: fix error return code in netvsc_probe()")
and
commit eefdd9082e70 ("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