net/mlx5e: Add rx/tx bytes software counters
authorGal Pressman <galp@mellanox.com>
Mon, 29 Feb 2016 19:17:14 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:37:26 +0000 (14:37 -0500)
commitb081da5ee1860d1874381a413a1b71d8f9f67e83
treedb510657a8ce1b971a87d90dcac1265b39a5295c
parent85082dba0a5059c538cfa786d07f5ec5370d22fe
net/mlx5e: Add rx/tx bytes software counters

Sum up rx/tx bytes in software as we do for rx/tx packets, to be reported
in upcoming statistics fix.

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>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
This page took 0.024067 seconds and 5 git commands to generate.