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)
Mon, Nov 25, 6:46 AM
Unknown Object (File)
Sat, Nov 23, 10:24 PM
Unknown Object (File)
Fri, Nov 22, 10:44 PM
Unknown Object (File)
Tue, Nov 19, 11:09 PM
Unknown Object (File)
Tue, Nov 19, 6:04 PM
Unknown Object (File)
Sat, Nov 9, 4:37 AM
Unknown Object (File)
Thu, Nov 7, 8:08 AM
Unknown Object (File)
Thu, Oct 31, 7:11 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 16406

Event Timeline

sys/net/iflib.c
2156

errant whitespace?

2161

IFC_DO_WATCHDOG is never cleared...

3738

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

4434

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.