HomeFreeBSD

Fix first-packet completion

Description

Fix first-packet completion

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.

This is the same fix as the r340310 for e1000

PR: 233607
Reported by: lev
Reviewed by: lev
MFC after: 3 days
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D18368

Details

Provenance
shurdAuthored on
Reviewer
lev
Differential Revision
D18368: Fix first-packet completion
Parents
rS341155: MFstable/12 r341075:
Branches
Unknown
Tags
Unknown