Page MenuHomeFreeBSD

iflib: Add new shared flag to iflib: IFLIB_ADMIN_ALWAYS_RUN
ClosedPublic

Authored by erj on May 25 2018, 5:45 PM.
Tags
None
Referenced Files
F140684127: D15575.id43027.diff
Fri, Dec 26, 8:56 PM
Unknown Object (File)
Wed, Dec 3, 1:43 PM
Unknown Object (File)
Tue, Dec 2, 3:57 AM
Unknown Object (File)
Nov 20 2025, 5:25 PM
Unknown Object (File)
Nov 20 2025, 5:21 PM
Unknown Object (File)
Nov 20 2025, 5:19 PM
Unknown Object (File)
Nov 20 2025, 5:19 PM
Unknown Object (File)
Nov 20 2025, 5:10 PM

Details

Summary

ixl(4)'s nvmupdate utility expects the nvmupdate process to run
while the interface is down; these nvm update commands use the
admin queue, so the admin queue needs to be able to generate
interrupts and be processed while the interface is down.

So add a flag that ixl(4) sets that lets the entire admin task
run even when the interface is marked down/IFF_DRV_RUNNING isn't set.

With this change, nvmupdate should function like it did pre-iflib.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 25 2018, 5:58 PM
sys/net/iflib.c
3811 ↗(On Diff #43003)

Style: The && should go at the end of the previous line

This revision now requires review to proceed.May 25 2018, 7:36 PM
erj marked an inline comment as done.May 25 2018, 7:37 PM
This revision is now accepted and ready to land.May 25 2018, 8:16 PM
This revision was automatically updated to reflect the committed changes.