Page MenuHomeFreeBSD

ix: report isc_pause_frames during stat update
ClosedPublic

Authored by jacob.e.keller_intel.com on Oct 1 2019, 11:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 4:19 AM
Unknown Object (File)
Mar 8 2024, 2:33 AM
Unknown Object (File)
Mar 4 2024, 2:04 PM
Unknown Object (File)
Feb 28 2024, 3:45 PM
Unknown Object (File)
Jan 31 2024, 4:47 AM
Unknown Object (File)
Jan 29 2024, 3:30 PM
Unknown Object (File)
Dec 28 2023, 11:23 PM
Unknown Object (File)
Dec 25 2023, 12:15 PM
Subscribers

Details

Summary

Notify the iflib stack of whether we received any pause frames during
the timer window. This allows the stack to avoid reporting a Tx hang due
to the device being paused.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gallatin added inline comments.
sys/dev/ixgbe/if_ix.c
1462 ↗(On Diff #62815)

this comes from IXGBE_LXOFFTXC.. Isn't that a counter of the pause frames that we have sent? I would think you'd want to use IXGBE_LXOFFRXC, which I think counts the pause frames we've received..?

sys/dev/ixgbe/if_ix.c
1462 ↗(On Diff #62815)

Yea, I think you're right.

Use the correct register value for the received pause frames

This revision is now accepted and ready to land.Oct 9 2019, 8:46 PM
This revision was automatically updated to reflect the committed changes.