]> 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)
commit410552acf043de1e0d4ed431b0a5d80ae2f12fb2
tree7eff3aa8520d6a28787229c0d95ad5dc8a8d9e31
parent81758544f4ca90c74a7f5e89e633ed1b3af56a09
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: e2cd5d82366f ("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