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)
Fri, Jan 17, 5:15 PM
Unknown Object (File)
Thu, Jan 16, 2:50 AM
Unknown Object (File)
Nov 25 2024, 6:46 AM
Unknown Object (File)
Nov 23 2024, 10:24 PM
Unknown Object (File)
Nov 22 2024, 10:44 PM
Unknown Object (File)
Nov 19 2024, 11:09 PM
Unknown Object (File)
Nov 19 2024, 6:04 PM
Unknown Object (File)
Nov 9 2024, 4:37 AM

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.