aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAya Levin <[email protected]>2020-06-15 12:48:47 +0300
committerSaeed Mahameed <[email protected]>2020-07-09 19:27:06 -0700
commit6a1cf4e443a3b0a4d690d3c93b84b1e9cbfcb1bd (patch)
tree2b13ac17f67d3ba5f482ce085a1ea86be34fa6b6 /lib/mpi/mpi-add.c
parentf4aebbfb56ed0c186adbeb2799df836da50f78e3 (diff)
net/mlx5e: Fix 50G per lane indication
Some released FW versions mistakenly don't set the capability that 50G per lane link-modes are supported for VFs (ptys_extended_ethernet capability bit). When the capability is unset, read PTYS.ext_eth_proto_capability (always reliable). If PTYS.ext_eth_proto_capability is valid (has a non-zero value) conclude that the HCA supports 50G per lane. Otherwise, conclude that the HCA doesn't support 50G per lane. Fixes: a08b4ed1373d ("net/mlx5: Add support to ext_* fields introduced in Port Type and Speed register") Signed-off-by: Aya Levin <[email protected]> Reviewed-by: Eran Ben Elisha <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions