HomeFreeBSD

cxgbe(4): Do not request an FEC that is invalid for the requested speed.

Description

cxgbe(4): Do not request an FEC that is invalid for the requested speed.

This eliminates error messages like this from the driver when running at
50Gbps with 100G cables:
[3726] cc0: l1cfg failed: 71
[4407] cc0: l1cfg failed: 71

Note that link comes up anyway with or without this change.

Reported by: Suhas Lokesha @ Chelsio
MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Jan 5 2022, 6:45 PM
Parents
rG9e007a88d65b: atkbd: Reduce polling rate from 10Hz to ~1Hz.
Branches
Unknown
Tags
Unknown