[Bug 220453] [Hyper-V] need to update Mellanox ConnectX-3 VF driver to support Live Migration

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 19 14:57:08 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220453

--- Comment #13 from Dexuan Cui <decui at microsoft.com> ---
(In reply to pete from comment #12)
Yes, it's expected that you saw a hn interface.

Hyper-V is a little different from other hypervisors with respect to SR-IOV
support for NIC.  Hyper-V provides a pair of NICs to the VM: one is the
Para-Virtualized NIC (hn), and the other is the hardware VF NIC, and both the
NICs share the same MAC address, and usually almost all of the network traffic
goes through the VF NIC so that we can take advantage of the benefits of the
hardware VF NIC (i.e. lower latency and CPU utilization, and higher throughput)
, but if necessary the network traffic can dynamically switch to the PV NIC,
which facilitates things like live migration of the VM. 

To enable SR-IOV in FreeBSD on Hyper-V, in 2016 we updated the PV NIC driver
(i.e. the netvsc driver) a little, and we added a pci front-end driver (i.e.
the pcib driver) to discover the VF device, and in Aug 2017 sephe implemented
an automatic “bond mode”, with which we don’t need to manually use the lagg
driver any more, and the configuration work is done automatically for the PV
NIC (we don't and shouldn't directly touch the VF interface).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list