]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Report correct auto negotiation and allow toggling
authorGal Pressman <galp@mellanox.com>
Thu, 23 Jun 2016 14:02:46 +0000 (17:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2016 08:10:41 +0000 (04:10 -0400)
commit9c385d9bcd80466f4965f2f509746542238143cc
treee0c22a7a2cf3caa02e2b9d6a73e688fe3db7e268
parentd12e4eb298c3c4fdcbaf4549e95a2c2b3dab1cbd
net/mlx5e: Report correct auto negotiation and allow toggling

Previous to this patch auto negotiation was reported off although it was
on by default in hardware. This patch reports the correct information to
ethtool and allows the user to toggle it on/off.

Added another parameter to set port proto function in order to pass
the auto negotiation field to the hardware.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/port.h