Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2020 20:55:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 248652] iflib: netmap pkt-gen large TX performance difference between 11-STABLE and 12-STABLE/CURRENT on ix & ixl NIC
Message-ID:  <bug-248652-7501-IVF1V7DXTo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248652-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248652-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248652

--- Comment #45 from Vincenzo Maffione <vmaffione@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" val=
ue
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 goi=
ng
to fix right away).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248652-7501-IVF1V7DXTo>