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)
Wed, Apr 10, 7:55 PM
Unknown Object (File)
Wed, Apr 10, 1:08 PM
Unknown Object (File)
Wed, Apr 10, 12:11 PM
Unknown Object (File)
Feb 22 2024, 11:51 PM
Unknown Object (File)
Dec 23 2023, 12:06 AM
Unknown Object (File)
Dec 20 2023, 7:50 PM
Unknown Object (File)
Dec 13 2023, 12:57 AM
Unknown Object (File)
Dec 12 2023, 2:08 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.