]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4_en: Move to SW counters for total bytes and packets
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 20 Apr 2009 04:34:38 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2009 08:47:07 +0000 (01:47 -0700)
commit6f16edd0f9707a358c8f36a920f1812ec63f2de7
tree3e612f18402f010d18ffe90dc205d06d07dc524c
parent5cc29e55921a7934fac6ccd2b1080ba176883b13
mlx4_en: Move to SW counters for total bytes and packets

The per ring counters are implemented in SW. Now moving to have the total
counters as the sum of all rings. This way the numbers will always be consistent
and we no longer depend on HW buffer size limitations for those counters
that can be insufficient in some cases.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_port.c