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
F150005795: D21869.diff
Sat, Mar 28, 5:28 PM
Unknown Object (File)
Sun, Mar 22, 5:11 PM
Unknown Object (File)
Sat, Mar 21, 7:55 AM
Unknown Object (File)
Fri, Mar 20, 8:35 PM
Unknown Object (File)
Tue, Mar 17, 2:02 AM
Unknown Object (File)
Sun, Mar 15, 1:05 AM
Unknown Object (File)
Sun, Mar 15, 1:01 AM
Unknown Object (File)
Sat, Mar 7, 7:14 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26822
Build 25156: arc lint + arc unit

Event Timeline

gallatin added inline comments.
sys/dev/ixgbe/if_ix.c
1462

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

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.