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)
commitb383b544f2666d67446b951a9a97af239dafed5d
treef4e9002d7131475fc1bfa3d4fc1853cccf02af93
parent1c4d5f51a812a82de97beee24f48ed05c65ebda5
net/mlx5e: Use the correct pause values for ethtool advertising

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

Fixes: 665bc53969d7 ("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