[Bug 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 28 20:55:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248652

--- Comment #45 from Vincenzo Maffione <vmaffione at FreeBSD.org> ---
(In reply to Sylvain Galliano from comment #43)
Ugh.
Thanks for reporting.

I indeed introduced a subtle typo bug, using callout_reset_sbt() rather than
callout_reset_sbt_on() (as intended). Therefore I was passing the "cpu" value
to the "flags" argument, resulting in a disaster. In your test this probably
triggered the C_DIRECT_EXEC flag of callout(9), so that the timer was being
executed in hardware interrupt context.

I uploaded the patch that is now consistent with the src tree (that I'm going
to fix right away).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list