Page MenuHomeFreeBSD

D62116.1795833843.diff
No OneTemporary

Authored By
Unknown
Size
872 B
Referenced Files
None
Subscribers
None

D62116.1795833843.diff

diff --git a/sys/net/iflib.c b/sys/net/iflib.c
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -1291,7 +1291,8 @@
*
* If there are unclaimed buffers, attempt to reclaim them.
* If we don't manage to reclaim them all, and TX IRQs are not in use,
- * trigger a per-tx-queue timer to try again later.
+ * trigger a per-tx-queue timer to try again later. A ring that is
+ * polled (NKR_NOINTR) is synced again without being told to.
*/
if (kring->nr_hwtail != nm_prev(kring->nr_hwcur, lim)) {
if (iflib_tx_credits_update(ctx, txq)) {
@@ -1301,7 +1302,8 @@
}
}
- if (!(ctx->ifc_flags & IFC_NETMAP_TX_IRQ))
+ if (!(ctx->ifc_flags & IFC_NETMAP_TX_IRQ) &&
+ !(kring->nr_kflags & NKR_NOINTR))
if (kring->nr_hwtail != nm_prev(kring->nr_hwcur, lim)) {
callout_reset_sbt_on(&txq->ift_netmap_timer,
NETMAP_TX_TIMER_US * SBT_1US, SBT_1US,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 28, 2:44 AM (2 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42048744
Default Alt Text
D62116.1795833843.diff (872 B)

Event Timeline