]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix ethtool pause support and advertise reporting
authorGal Pressman <galp@mellanox.com>
Wed, 19 Apr 2017 11:35:15 +0000 (14:35 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 14 May 2017 10:33:45 +0000 (13:33 +0300)
commite993c1235924bbeeb2c9c08cf83bf15a0368e4bd
tree7eff3aa8520d6a28787229c0d95ad5dc8a8d9e31
parenta4707741855611924a05cdcfbb9013304306fe5a
net/mlx5e: Fix ethtool pause support and advertise reporting

Pause bit should set when RX pause is on, not TX pause.
Also, setting Asym_Pause is incorrect, and should be turned off.

Fixes: d12e4eb298c3 ("net/mlx5e: Use new ethtool get/set link ksettings API")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Cc: kernel-team@fb.com
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c