Hi Jakub,

The link-down events counter increments upon actual physical link-down events, doesn't increment when user performs a simple down/up of the interface. However there is indeed link down event from firmware - as part of interface reinitialization eg. when attaching XDP program, reconfiguring channels and setting interface priv-flags. In those cases, the interface is stopped and then brought back up.

I will add more these details in the cover letter.

Thank you!
Martyna

On 5/13/2025 2:21 AM, Jakub Kicinski wrote:
On Mon, 12 May 2025 11:05:14 +0200 Martyna Szapar-Mudlaw wrote:
This series introduces link_down_events counters to the ixgbe and ice drivers.
The counters are incremented each time the link transitions from up to down,
allowing better diagnosis of link stability issues such as port flapping or
unexpected link drops.

To confirm, will the counter increment:
  - when link is held up by BMC / NC-SI or some other agent
    and user does down/up on the host?
  - when user reconfigures channels, attaches XDP etc?

Would be good to document that in the cover letter.


Reply via email to