HomeFreeBSD

MFC r360398: iflib: Stop interface before (un)registering VLAN

Description

MFC r360398: iflib: Stop interface before (un)registering VLAN

This is now misleadingly named for stable/11; this was meant to fix an
issue in an out-of-tree iavf(4) driver that uses iflib.

This commit actually introduces a new driver-dependent function that
iflib-using drivers can implement in order to tell iflib whether an
interface restart is needed for certain events. For this commit, this
function is only used for VLAN register/unregister events.

Sponsored by: Intel Corporation

Details

Provenance
erjAuthored on
Parents
rS361054: Import lib9p 7ddb1164407da19b9b1afb83df83ae65a71a9a66.
Branches
Unknown
Tags
Unknown