OSDN Git Service

net/mlx5e: Removed unnecessary warnings in FEC caps query
authorShay Agroskin <shayag@mellanox.com>
Sun, 28 Oct 2018 07:06:11 +0000 (09:06 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 19 Nov 2018 23:33:31 +0000 (15:33 -0800)
commit64e283348458e2fd2fe41b60dfb6c30e88ee695f
tree0e3b1c1cfb0665835a2129de931ca925246915e9
parentfebd72f27c02713823cdd011e0087c0e80eb8f62
net/mlx5e: Removed unnecessary warnings in FEC caps query

Querying interface FEC caps with 'ethtool [int]' after link reset
throws warning regading link speed.
This warning is not needed as there is already an indication in
user space that the link is not up.

Fixes: 0696d60853d5 ("net/mlx5e: Receive buffer configuration")
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c
drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c