Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140079810
D21869.id62815.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
563 B
Referenced Files
None
Subscribers
None
D21869.id62815.diff
View Options
Index: sys/dev/ixgbe/if_ix.c
===================================================================
--- sys/dev/ixgbe/if_ix.c
+++ sys/dev/ixgbe/if_ix.c
@@ -1455,6 +1455,13 @@
stats->lxofftxc += lxoff;
total = lxon + lxoff;
+ /*
+ * For watchdog management we need to know if we have been paused
+ * during the last interval, so capture that here.
+ */
+ if (lxoff)
+ adapter->shared->isc_pause_frames = 1;
+
stats->gptc += IXGBE_READ_REG(hw, IXGBE_GPTC);
stats->mptc += IXGBE_READ_REG(hw, IXGBE_MPTC);
stats->ptc64 += IXGBE_READ_REG(hw, IXGBE_PTC64);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 11:28 PM (12 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27102585
Default Alt Text
D21869.id62815.diff (563 B)
Attached To
Mode
D21869: ix: report isc_pause_frames during stat update
Attached
Detach File
Event Timeline
Log In to Comment