Page MenuHomeFreeBSD

Allow NIC drivers to sleep rather than busy wait
ClosedPublic

Authored by kmacy on Apr 6 2018, 1:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 3:23 PM
Unknown Object (File)
Sat, Mar 28, 6:56 AM
Unknown Object (File)
Mon, Mar 23, 9:16 PM
Unknown Object (File)
Mon, Mar 16, 9:41 PM
Unknown Object (File)
Sun, Mar 15, 6:46 AM
Unknown Object (File)
Feb 26 2026, 12:13 PM
Unknown Object (File)
Feb 26 2026, 3:28 AM
Unknown Object (File)
Feb 14 2026, 6:38 PM

Details

Summary

Since the move to SMP NIC driver locking has had to go through serious contortions using mtx around long running hardware operations. This moves iflib past that.

This change depends on D14967, D14969, and D14982

Diff Detail

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

Event Timeline

sys/net/iflib.c
2156 ↗(On Diff #41163)

errant whitespace?

2161 ↗(On Diff #41163)

IFC_DO_WATCHDOG is never cleared...

3738 ↗(On Diff #41163)

Shouldn't this test be protected by the lock as well?

4434 ↗(On Diff #41163)

errant whitespace?

shurd requested changes to this revision.Apr 9 2018, 5:07 PM

This patch doesn't apply after the dependencies are applied.

This revision now requires changes to proceed.Apr 9 2018, 5:07 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 3 2018, 5:02 PM
This revision was automatically updated to reflect the committed changes.