HomeFreeBSD

ixl(4): Add link state polling

Description

ixl(4): Add link state polling

In some cases driver may ask FW about link state before FW finishes
configuration of a (Q)SFP+ transceiver. If first attempt of using Get Link
Status AQC after loading driver or handling a reset fails, then re-try
periodically for 5 seconds.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Tested by: jeffrey.e.pieper@intel.com
Approved by: erj@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D40899

(cherry picked from commit ba2f531f816a6bc1ef5f2cba4a329ff7bdbec0f3)

Details

Provenance
krzysztof.galazka_intel.comAuthored on Jul 20 2023, 10:33 PM
erjCommitted on Jul 27 2023, 9:49 PM
Differential Revision
D40899: ixl(4): Add link state polling
Parents
rGe30d990e1a6f: ixl: port ice's atomic API to ixl
Branches
Unknown
Tags
Unknown