On 08/03/2017 6:17 PM, Eric Dumazet wrote:
This new counter tracks number of pages that we allocated for one port.
lpaa24:~# ethtool -S eth0 | egrep 'rx_alloc_pages|rx_packets'
rx_packets: 306755183
rx_alloc_pages: 932897
Signed-off-by: Eric Dumazet <[email protected]>
---
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 2 +-
drivers/net/ethernet/mellanox/mlx4/en_port.c | 2 ++
drivers/net/ethernet/mellanox/mlx4/en_rx.c | 11 +++++++----
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 1 +
drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h | 2 +-
5 files changed, 12 insertions(+), 6 deletions(-)
Acked-by: Tariq Toukan <[email protected]>
Thanks.