Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/dev/pci/ixgbe Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/ee8c6a385f1c
branches: netbsd-8
changeset: 446811:ee8c6a385f1c
user: martin <martin%NetBSD.org@localhost>
date: Thu Dec 20 11:34:33 2018 +0000
description:
Pull up following revision(s) (requested by knakahara in ticket #1141):
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.51
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 d06432d7c574 -r ee8c6a385f1c sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Tue Dec 18 18:33:40 2018 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Thu Dec 20 11:34:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.24.2.13 2018/09/07 12:37:20 martin Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.24.2.14 2018/12/20 11:34:33 martin 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