aboutsummaryrefslogtreecommitdiff
path: root/sys/net/iflib.c
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2018-06-08 21:49:19 +0000
committerStephen Hurd <shurd@FreeBSD.org>2018-06-08 21:49:19 +0000
commit3ab4a9608594af52caa488b1a5c18d54883d4f16 (patch)
treeec4a77660b4a2aff928a10b31e93805050a85114 /sys/net/iflib.c
parent4e180881ae4a325cfaeef336aa1a16b0d5bbae67 (diff)
downloadsrc-3ab4a9608594af52caa488b1a5c18d54883d4f16.tar.gz
src-3ab4a9608594af52caa488b1a5c18d54883d4f16.zip
Remove tx task spinning added in r333686
This caused issues with PASTE. Just remove the reschedule since the DELAY() should be enough for use cases such as pkt-gen which were failing before the change. Reported by: Michio Honda Sponsored by: Limelight Networks
Notes
Notes: svn path=/head/; revision=334862
Diffstat (limited to 'sys/net/iflib.c')
-rw-r--r--sys/net/iflib.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index 6d0557b34dae..51d228a6c627 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -3728,16 +3728,6 @@ _task_fn_tx(void *context)
*/
if (ctx->isc_txd_credits_update(ctx->ifc_softc, txq->ift_id, false))
netmap_tx_irq(ifp, txq->ift_id);
- else {
-#ifdef DEV_NETMAP
- if (!(ctx->ifc_flags & IFC_NETMAP_TX_IRQ)) {
- struct netmap_kring *kring = NA(ctx->ifc_ifp)->tx_rings[txq->ift_id];
-
- if (kring->nr_hwtail != nm_prev(kring->rhead, kring->nkr_num_slots - 1))
- GROUPTASK_ENQUEUE(&txq->ift_task);
- }
-#endif
- }
IFDI_TX_QUEUE_INTR_ENABLE(ctx, txq->ift_id);
return;
}