aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap.c
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2012-04-12 08:54:01 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2012-04-12 08:54:01 +0000
commit13b9940fdc86a416e303b122ca67a5ad54396656 (patch)
tree7bc39cf2bffc75c827ab773fe0fd60df7dda2e35 /sys/dev/netmap/netmap.c
parentaaca8f41f5078d07f95d17d3d79982c02c94296f (diff)
Notes
Diffstat (limited to 'sys/dev/netmap/netmap.c')
-rw-r--r--sys/dev/netmap/netmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c
index 9cd04ce2935d..5543762a8ce6 100644
--- a/sys/dev/netmap/netmap.c
+++ b/sys/dev/netmap/netmap.c
@@ -1667,10 +1667,10 @@ netmap_rx_irq(struct ifnet *ifp, int q, int *work_done)
if (work_done) { /* RX path */
r = na->rx_rings + q;
r->nr_kflags |= NKR_PENDINTR;
- main_wq = (na->num_rx_queues > 1) ? &na->tx_si : NULL;
+ main_wq = (na->num_rx_queues > 1) ? &na->rx_si : NULL;
} else { /* tx path */
r = na->tx_rings + q;
- main_wq = (na->num_tx_queues > 1) ? &na->rx_si : NULL;
+ main_wq = (na->num_tx_queues > 1) ? &na->tx_si : NULL;
work_done = &q; /* dummy */
}
if (na->separate_locks) {