opnsense-src/sys/dev/hyperv
Sepherosa Ziehau 65fe5a4627 hyperv/hn: Suspend and resume the backend properly upon MTU change.
Suspend:
- Prevent the backend from being touched on TX path.
- Clear the RNDIS RX filter, and wait for RX to drain.
- Make sure that NVS see the chimney sending buffer and RXBUF
  disconnection, before unlink these buffers from the channel.

Resume:
- Reconfigure the RNDIS filter.
- Allow TX path to work on the backend.
- Kick start the TX eof task, in case the OACTIVE is set.

This fixes various panics, when the interface has traffic and MTU
is being changed.

MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8046
2016-09-28 04:34:21 +00:00
..
include hyperv/vmbus: Add function to drain channel interrupt task. 2016-09-28 04:25:25 +00:00
netvsc hyperv/hn: Suspend and resume the backend properly upon MTU change. 2016-09-28 04:34:21 +00:00
stordisengage Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree 2014-10-24 06:27:45 +00:00
storvsc hyperv/storvsc: Fix SRB length setting. 2016-09-20 08:52:45 +00:00
utilities hyperv/kvp: Fix IPv4/IPv6 address injection support. 2016-09-08 07:16:56 +00:00
vmbus hyperv/vmbus: Add function to drain channel interrupt task. 2016-09-28 04:25:25 +00:00