net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam()
authorIvan Vecera <ivecera@redhat.com>
Mon, 8 Sep 2014 16:46:53 +0000 (18:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2014 22:54:26 +0000 (15:54 -0700)
commit278d436a476f69fc95d5c82bf61b6c2d02f4d44e
tree1ff1e5915ff4f8c8b4e366ed0867e5193ed94287
parent208f7ca4d4a6886256763c9c073775c5fdaf47eb
net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam()

The driver does not support pause autonegotiation so it should return
-EINVAL when the function is called with non-zero autoneg.

Cc: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c