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

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

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