]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net/mlx5e: Reorder update stats
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Dec 2016 15:07:17 +0000 (17:07 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:20:04 +0000 (23:20 +0200)
commit3dd69e3dd21969a34406862ae299538e2e6387e7
treee940780eb26e6f3072c74e58b793da0610caffb4
parent701052c578195e6e02a22647fa6fd1c90c31dafd
net/mlx5e: Reorder update stats

Reorder update stats flow to update most important counters last,
to get more accurate results.

New update order:
- PCIe counters
- Port counters
- Vport counters
- Queue counters
- Software counters

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c