Page MenuHomeFreeBSD

ifnet: introduce event handlers for ifup/ifdown events
ClosedPublic

Authored by decui_microsoft.com on Dec 29 2016, 7:52 AM.

Details

Summary

Hyper-V's NIC SR-IOV implementation needs a Hyper-V synthetic NIC and
a VF NIC to work together, 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).

So the synthetic NIC driver needs to know when a VF device is becoming
UP or DOWN and hence the patch is made.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

decui_microsoft.com retitled this revision from to ifnet: introduce event handlers for ifup/ifdown events.
decui_microsoft.com updated this object.
decui_microsoft.com edited the test plan for this revision. (Show Details)
decui_microsoft.com updated this object.

Since sephe's patch (https://reviews.freebsd.org/D8905) is accepted, let me update this patch accordingly.

garga added a subscriber: garga.Jan 6 2017, 4:47 PM

If no objection comes, we plan to commit this earlier next week.

This revision was automatically updated to reflect the committed changes.