Page MenuHomeFreeBSD

ifnet: introduce event handlers for ifup/ifdown events
ClosedPublic

Authored by decui_microsoft.com on Dec 29 2016, 7:52 AM.
Tags
None
Referenced Files
F104987453: D8963.diff
Wed, Dec 11, 9:40 AM
Unknown Object (File)
Wed, Nov 27, 4:27 AM
Unknown Object (File)
Tue, Nov 26, 9:37 AM
Unknown Object (File)
Tue, Nov 19, 10:10 PM
Unknown Object (File)
Tue, Nov 19, 1:27 PM
Unknown Object (File)
Fri, Nov 15, 6:30 AM
Unknown Object (File)
Wed, Nov 13, 10:16 PM
Unknown Object (File)
Nov 10 2024, 9:14 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 - subversion
Lint
Lint Not Applicable
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.

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

This revision was automatically updated to reflect the committed changes.