Page MenuHomeFreeBSD

ice: Re-enable link after reset when link-on-down is disabled
Needs ReviewPublic

Authored by kbowling on Thu, Sep 3, 8:14 AM.
Tags
None
Referenced Files
F170863055: D59335.diff
Mon, Sep 7, 2:57 AM
Unknown Object (File)
Sun, Sep 6, 1:29 PM
Unknown Object (File)
Sat, Sep 5, 4:06 PM
Unknown Object (File)
Sat, Sep 5, 10:04 AM
Unknown Object (File)
Fri, Sep 4, 9:28 PM
Unknown Object (File)
Fri, Sep 4, 4:50 PM
Unknown Object (File)
Fri, Sep 4, 7:22 AM
Unknown Object (File)
Thu, Sep 3, 1:51 PM
Subscribers

Details

Reviewers
kgalazka
Group Reviewers
Intel Networking
Restricted Owners Package(Owns No Changed Paths)
Summary
FIRST_INIT_LINK suppresses redundant PHY reconfiguration during the
iflib init which follows reset recovery.  This is correct when
link_active_on_if_down keeps the link configured.  When that policy is
disabled, rebuild deliberately forces the link down, and suppressing
normal initialization leaves the interface up with the physical link
disabled.

Only record FIRST_INIT_LINK after an OICR reset when the interface is
up and link_active_on_if_down is enabled.  Normal initialization can
then restore the link when the policy is disabled.

MFC after:      2 weeks
Sponsored by:   BBOX.io

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped