On Wed, 14 May 2025 15:44:49 +0200 Szapar-Mudlaw, Martyna wrote:
> 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.

Maybe I'm misunderstanding, but are you saying that the link-down
counter doesn't increment on ifdown+ifup but it does increment
when attaching an XDP prog?

The definition of link_down_events is pretty simple - (plus minus
the quantum world of signals) the link_down_events is physical link
downs which the switch / remote end will also see. Unlike software
carrier off which may just configure the MAC or the NIC pipeline to
drop but the PHY stays connected / trained / synchronized.

Reply via email to