Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137310825
D21870.id63372.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
908 B
Referenced Files
None
Subscribers
None
D21870.id63372.diff
View Options
Index: head/sys/dev/ixl/ixl_pf_main.c
===================================================================
--- head/sys/dev/ixl/ixl_pf_main.c
+++ head/sys/dev/ixl/ixl_pf_main.c
@@ -2592,6 +2592,7 @@
struct i40e_hw *hw = &pf->hw;
struct ixl_vsi *vsi = &pf->vsi;
struct ixl_vf *vf;
+ u64 prev_link_xoff_rx = pf->stats.link_xoff_rx;
struct i40e_hw_port_stats *nsd = &pf->stats;
struct i40e_hw_port_stats *osd = &pf->stats_offsets;
@@ -2676,6 +2677,13 @@
ixl_stat_update32(hw, I40E_GLPRT_LXOFFTXC(hw->port),
pf->stat_offsets_loaded,
&osd->link_xoff_tx, &nsd->link_xoff_tx);
+
+ /*
+ * For watchdog management we need to know if we have been paused
+ * during the last interval, so capture that here.
+ */
+ if (pf->stats.link_xoff_rx != prev_link_xoff_rx)
+ adapter->shared->isc_pause_frames = 1;
/* Packet size stats rx */
ixl_stat_update48(hw, I40E_GLPRT_PRC64H(hw->port),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 23, 8:06 AM (20 m, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26008954
Default Alt Text
D21870.id63372.diff (908 B)
Attached To
Mode
D21870: ixl: report whether device received pause frames
Attached
Detach File
Event Timeline
Log In to Comment