]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use the correct pause values for ethtool advertising
authorGal Pressman <galp@mellanox.com>
Mon, 3 Apr 2017 12:11:22 +0000 (15:11 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 14 May 2017 10:33:45 +0000 (13:33 +0300)
commit81758544f4ca90c74a7f5e89e633ed1b3af56a09
treef4e9002d7131475fc1bfa3d4fc1853cccf02af93
parent090c1b66020a63da97cb66000040791675c9532e
net/mlx5e: Use the correct pause values for ethtool advertising

Query the operational pause from firmware (PFCC register) instead of
always passing zeros.

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