summaryrefslogtreecommitdiffstats
path: root/sys/dev/netmap
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-06-17 18:50:57 +0000
committersbruno <sbruno@FreeBSD.org>2015-06-17 18:50:57 +0000
commitd2f2bb87e8f9590ff5d8eb0745530c9f78bad751 (patch)
tree088c72f10f4fa1342bdd688750a34d0bc527ee29 /sys/dev/netmap
parent6f160602884a965fff58f52f3747e205b403df7e (diff)
downloadFreeBSD-src-d2f2bb87e8f9590ff5d8eb0745530c9f78bad751.zip
FreeBSD-src-d2f2bb87e8f9590ff5d8eb0745530c9f78bad751.tar.gz
MFC r284179, r283959
Implement multiqueue (max 2 tx/rx queues) for the 82574L chipset. Change default tuning parameters to handle this new configuration if EM_MULTIQUEUE is set in the kernel configuration. Off by default. See r283959 changelog for the scope of these changes. Relnotes: Yes Sponsored by: Limelight Networks
Diffstat (limited to 'sys/dev/netmap')
-rw-r--r--sys/dev/netmap/if_em_netmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/if_em_netmap.h b/sys/dev/netmap/if_em_netmap.h
index 15e9be5..99eaa6f 100644
--- a/sys/dev/netmap/if_em_netmap.h
+++ b/sys/dev/netmap/if_em_netmap.h
@@ -70,7 +70,7 @@ em_netmap_unblock_tasks(struct adapter *adapter)
struct rx_ring *rxr = adapter->rx_rings;
int i;
- for (i = 0; i < adapter->num_queues; i++) {
+ for (i = 0; i < adapter->num_queues; i++, txr++, rxr++) {
taskqueue_unblock(txr->tq);
taskqueue_unblock(rxr->tq);
}
OpenPOWER on IntegriCloud