freebsd-nq/sys/dev/hyperv
Dexuan Cui 5bdfd3fd36 hyperv/hn: add the support for VF drivers (SR-IOV)
Hyper-V's NIC SR-IOV implementation needs a Hyper-V synthetic NIC and
a VF NIC to work together (both NICs have the same MAC address), mainly to
support seamless live migration.

When the VF device becomes UP (or DOWN), the synthetic NIC driver needs
to switch the data path from the synthetic NIC to the VF (or the opposite).

Note: multicast/broadcast packets are still received through the synthetic
NIC and we need to inject the packets through the VF interface (if the VF is
UP), even if the synthetic NIC is DOWN (so we need to force the rxfilter
to be NDIS_PACKET_TYPE_PROMISCUOUS, when the VF is UP).

Reviewed by:	sephe
Approved by:	sephe (mentor)
MFC after:	2 weeks
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8964
2017-01-24 09:24:14 +00:00
..
include hyperv: Add method to read 64bit Hyper-V specific time value. 2017-01-09 03:38:41 +00:00
netvsc hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
pcib hyperv/vmbus,pcib: unbreak build in case NEW_PCIB is undefined 2016-11-25 04:35:40 +00:00
storvsc Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
utilities hyperv: Add method to read 64bit Hyper-V specific time value. 2017-01-09 03:38:41 +00:00
vmbus hyperv: Add method to read 64bit Hyper-V specific time value. 2017-01-09 03:38:41 +00:00