freebsd-nq/sys/dev/hyperv/netvsc
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
..
hn_nvs.c hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
hn_nvs.h hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
hn_rndis.c hyperv/hn: Fix attach error handling 2016-11-28 05:46:00 +00:00
hn_rndis.h hyeprv/hn: Rename cleaned up RNDIS header file. 2016-10-28 08:53:18 +00:00
if_hn.c hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
if_hnreg.h hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
if_hnvar.h hyperv/hn: add the support for VF drivers (SR-IOV) 2017-01-24 09:24:14 +00:00
ndis.h hyperv/hn: Properly configure RSS according to RSS capabilities 2016-10-27 03:43:27 +00:00