HomeFreeBSD

cxgbe(4): Handle FORCE_FEC in pcaps correctly.

Description

cxgbe(4): Handle FORCE_FEC in pcaps correctly.

The firmware doesn't report FORCE_FEC in pcaps if the transceiver
plugged in at that time does not support a speed that may use FEC. It
is incorrect for the driver to assume that the FORCE_FEC value it read
during attach (in init_link_config) is permanent. Instead, it should
check pcaps just before issuing the L1CFG command.

Sponsored by: Chelsio Communications

(cherry picked from commit 231f2112403229a1382be3f5f6ed50bffe3497e8)

Details

Provenance
npAuthored on Mar 25 2022, 7:34 AM
Parents
rG82386f825eb7: cxgbe(4): Allow dump_cimla and dump_devlog to sleep.
Branches
Unknown
Tags
Unknown