Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Apply the same fix as if_wm.c:r1.606 to ix...
details: https://anonhg.NetBSD.org/src/rev/de7dbd2941d6
branches: trunk
changeset: 995393:de7dbd2941d6
user: knakahara <knakahara%NetBSD.org@localhost>
date: Thu Dec 20 09:47:15 2018 +0000
description:
Apply the same fix as if_wm.c:r1.606 to ixg(4). Pointed out by msaitoh@n.o, thanks.
XXX pullup-8
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 515220a28ea6 -r de7dbd2941d6 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Thu Dec 20 09:32:12 2018 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Thu Dec 20 09:47:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.50 2018/09/06 08:20:12 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.51 2018/12/20 09:47:15 knakahara Exp $ */
/******************************************************************************
@@ -230,7 +230,7 @@
i = m->m_pkthdr.flowid % adapter->num_queues;
} else
#endif /* 0 */
- i = cpu_index(curcpu()) % adapter->num_queues;
+ i = (cpu_index(curcpu()) % ncpu) % adapter->num_queues;
/* Check for a hung queue and pick alternative */
if (((1 << i) & adapter->active_queues) == 0)
Home |
Main Index |
Thread Index |
Old Index