Page MenuHomeFreeBSD

Fix first-packet completion

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



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

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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.