Page MenuHomeFreeBSD

if_vtnet: Schedule Rx task if pending items when enabling interrupt
ClosedPublic

Authored by bryanv on Jan 2 2021, 9:17 PM.
Tags
None
Referenced Files
F105582402: D27922.diff
Tue, Dec 17, 10:41 PM
Unknown Object (File)
Sat, Dec 14, 2:23 PM
Unknown Object (File)
Sat, Dec 14, 1:02 PM
Unknown Object (File)
Tue, Dec 10, 7:46 PM
Unknown Object (File)
Fri, Dec 6, 1:47 PM
Unknown Object (File)
Nov 6 2024, 4:29 PM
Unknown Object (File)
Oct 5 2024, 6:09 PM
Unknown Object (File)
Oct 5 2024, 2:01 PM
Subscribers

Details

Summary

Prior to V1, the driver would enable interupts and then notify the
host that DRIVER_OK. Since for V1, DRIVER_OK needs to be set before
notifying the virtqueues, there may be items in the queues waiting
to be processed by the time interrupts are enabled.

This fixes a bug where the first Rx queue would appear stuck, only
being fixable by an interface down/up.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35887
Build 32776: arc lint + arc unit

Event Timeline

bryanv held this revision as a draft.
bryanv published this revision for review.Jan 2 2021, 10:05 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 19 2021, 5:12 AM
This revision was automatically updated to reflect the committed changes.