HomeFreeBSD

mlx5en: Use connector type instead of cable type for media detection

Description

mlx5en: Use connector type instead of cable type for media detection

Replace cable type detection with connector type for more accurate media
type selection. The connector type is queried directly from the PTYS
register and provides more reliable information about the physical port
type compared to cable type.

Reviewed by: slavash
Sponsored by: NVidia networking
MFC after: 1 week

Details

Provenance
Ariel Ehrenberg <aehrenberg@nvidia.com>Authored on Mar 25 2025, 12:40 PM
kibCommitted on Apr 9 2025, 4:55 AM
Parents
rG516adf364cab: lindebugfs: Export newly-added symbol
Branches
Unknown
Tags
Unknown