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
Unknown Object (File)
Dec 20 2023, 6:56 PM
Unknown Object (File)
Dec 20 2023, 4:12 AM
Unknown Object (File)
Nov 22 2023, 3:01 AM
Unknown Object (File)
Nov 10 2023, 5:38 AM
Unknown Object (File)
Oct 10 2023, 4:35 PM
Unknown Object (File)
Oct 9 2023, 4:29 AM
Unknown Object (File)
Oct 7 2023, 5:10 AM
Unknown Object (File)
Sep 25 2023, 1:45 AM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.