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 Fix a problem that the watchd...
details: https://anonhg.NetBSD.org/src/rev/f1d5ee8cc677
branches: trunk
changeset: 319087:f1d5ee8cc677
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed May 16 07:51:17 2018 +0000
description:
Fix a problem that the watchdog timer sometimes mistakenly fires. Restore
TX sending check in the end of ixgbe_txeof which was wrongly removed in
ix_txrx.c rev. 1.42.
diffstat:
sys/dev/pci/ixgbe/ix_txrx.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 24da7d3b0901 -r f1d5ee8cc677 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c Wed May 16 03:52:35 2018 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c Wed May 16 07:51:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ix_txrx.c,v 1.42 2018/05/08 09:45:54 msaitoh Exp $ */
+/* $NetBSD: ix_txrx.c,v 1.43 2018/05/16 07:51:17 msaitoh Exp $ */
/******************************************************************************
@@ -1216,6 +1216,9 @@
work += txr->num_desc;
txr->next_to_clean = work;
+ if (txr->tx_avail == txr->num_desc)
+ txr->sending = false;
+
return ((limit > 0) ? false : true);
} /* ixgbe_txeof */
Home |
Main Index |
Thread Index |
Old Index