diff options
author | Aya Levin <ayal@mellanox.com> | 2019-12-01 13:45:25 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-12-05 22:02:12 +0100 |
commit | 6d485e5e555436d2c13accdb10807328c4158a17 (patch) | |
tree | 81eae0e7f4079a6857fe23a8ead6bf1523c1b118 /kernel/stop_machine.c | |
parent | net/mlx5e: Fix free peer_flow when refcount is 0 (diff) | |
download | linux-6d485e5e555436d2c13accdb10807328c4158a17.tar.xz linux-6d485e5e555436d2c13accdb10807328c4158a17.zip |
net/mlx5e: Fix translation of link mode into speed
Add a missing value in translation of PTYS ext_eth_proto_oper to its
corresponding speed. When ext_eth_proto_oper bit 10 is set, ethtool
shows unknown speed. With this fix, ethtool shows speed is 100G as
expected.
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 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions