diff options
author | Gal Pressman <galp@mellanox.com> | 2016-06-27 09:08:37 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-29 08:28:46 (GMT) |
commit | ed80ec4c179d1f44cc1b36c7a102353ae6103793 (patch) | |
tree | 0879d8463b068c4a65708445ffb4ff6a98d5c378 /drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | |
parent | 9ceec359e4ebdbbfd35375203c5bd06d602225f7 (diff) | |
download | linux-ed80ec4c179d1f44cc1b36c7a102353ae6103793.tar.xz |
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 'drivers/net/ethernet/mellanox/mlx5/core/en_tx.c')
0 files changed, 0 insertions, 0 deletions