Page MenuHomeFreeBSD

Fix first-packet completion
ClosedPublic

Authored by shurd on Nov 9 2018, 7:35 PM.

Details

Summary

The first packet after the ring is initialized was never
completed as isc_txd_credits_update() would not include it in the
count of completed packets. This caused netmap to never complete
a batch. See PR 233022 for more details.

Test Plan

Have lev confirm fix.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 20727
Build 20137: arc lint + arc unit

Event Timeline

shurd created this revision.Nov 9 2018, 7:35 PM
lev accepted this revision.Nov 9 2018, 9:43 PM

Yep, it helps, at least at em

This revision is now accepted and ready to land.Nov 9 2018, 9:43 PM
This revision was automatically updated to reflect the committed changes.