]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit52244d960755936fa9c8ce54d583d0ed46f24fb6
treee0c22a7a2cf3caa02e2b9d6a73e688fe3db7e268
parent665bc53969d79af9cfd080e25b91b0415a2b5eec
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