]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not add IFM_10G_LR and IFM_40G_ER4 to supported media types by default in
authorhselasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:55:15 +0000 (10:55 +0000)
committerhselasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:55:15 +0000 (10:55 +0000)
commitbb742db5d6b86a214068903b7ce54a6a1e739120
tree2ef206bf2bc9dc1dd26dbbc5db2252ca6e623926
parenta8cc5f14d5b4a853240b07bd042921e9eebd11a9
Do not add IFM_10G_LR and IFM_40G_ER4 to supported media types by default in
mlx5en(4).

IFM_10G_LR and IFM_40G_ER4 media should be added only if the device
has the needed capability bit set for it.

Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/mlx5_en_main.c