aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2016-06-27 12:08:37 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-29 04:28:46 -0400
commited80ec4c179d1f44cc1b36c7a102353ae6103793 (patch)
tree0879d8463b068c4a65708445ffb4ff6a98d5c378 /drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
parentnet/mlx5e: Prevent adding the same vxlan port (diff)
downloadlinux-dev-ed80ec4c179d1f44cc1b36c7a102353ae6103793.tar.xz
linux-dev-ed80ec4c179d1f44cc1b36c7a102353ae6103793.zip
net/mlx5e: Fix number of PFC counters reported to ethtool
Number of PFC counters used to count only number of priorities with PFC enabled, but each priority has more than one counter, hence the need to multiply it by the number of PFC counters per priority. Fixes: cf678570d5a1 ('net/mlx5e: Add per priority group to PPort counters') Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions