summaryrefslogtreecommitdiff
path: root/fs/inode.c
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2020-06-15 12:48:47 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-07-10 05:27:06 +0300
commit6a1cf4e443a3b0a4d690d3c93b84b1e9cbfcb1bd (patch)
tree2b13ac17f67d3ba5f482ce085a1ea86be34fa6b6 /fs/inode.c
parentf4aebbfb56ed0c186adbeb2799df836da50f78e3 (diff)
downloadlinux-6a1cf4e443a3b0a4d690d3c93b84b1e9cbfcb1bd.tar.xz
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 <ayal@mellanox.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions