Summary: | [ix] netmap's pkt-gen can not stop transmission at ix0 (same as PR233022) | ||
---|---|---|---|
Product: | Base System | Reporter: | Lev A. Serebryakov <lev> |
Component: | kern | Assignee: | Stephen Hurd <shurd> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | shurd |
Priority: | --- | Keywords: | IntelNetworking |
Version: | CURRENT | Flags: | koobs:
mfc-stable12?
|
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D18368 | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233022 |
Description
Lev A. Serebryakov
2018-11-28 13:24:18 UTC
Yeah, looks like the same issue here too. Review here: https://reviews.freebsd.org/D18368 Please test, thanks! (In reply to Stephen Hurd from comment #1) I could say, that it helps, as I've did this "fix" two hours ago myself :-) A commit references this bug: Author: shurd Date: Wed Nov 28 17:37:18 UTC 2018 New revision: 341156 URL: https://svnweb.freebsd.org/changeset/base/341156 Log: 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 Changes: head/sys/dev/ixgbe/ix_txrx.c head/sys/dev/ixl/ixl_txrx.c A commit references this bug: Author: shurd Date: Mon Dec 3 15:18:35 UTC 2018 New revision: 341427 URL: https://svnweb.freebsd.org/changeset/base/341427 Log: MFC r341156: 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 Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D18368 Changes: _U stable/12/ stable/12/sys/dev/ixgbe/ix_txrx.c stable/12/sys/dev/ixl/ixl_txrx.c |