]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: clear some TX ring stats in mlx4_en_clear_stats()
authorEric Dumazet <edumazet@google.com>
Wed, 25 May 2016 16:50:37 +0000 (09:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2016 05:15:50 +0000 (22:15 -0700)
commit91343d7369c2e30eb89504d1202902f3b1b0058c
tree2c10971be18f5016e86b8c20dfac598ebab3e5d2
parent9f9eda7f97cf0c445642d8c6f410bb9326496efc
net/mlx4_en: clear some TX ring stats in mlx4_en_clear_stats()

mlx4_en_clear_stats() clears about everything but few TX ring
fields are missing :
- queue_stopped, wake_queue, tso_packets, xmit_more

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c