net/mlx5: add out of buffer counter to extended statistic
authorShahaf Shuler <shahafs@mellanox.com>
Tue, 14 Feb 2017 14:31:06 +0000 (16:31 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:50 +0000 (15:52 +0200)
commit859081d3fbbf81501726a5920749e47a2a65e9d3
treeb77053782ae797b653fb6f193a32d901cb22100f
parent865787886101310954ddc35eb5c29b3ab7b9c055
net/mlx5: add out of buffer counter to extended statistic

This commit adds RX out of buffer counter to xstats report.
The counter counts the number of dropped occurred due to lack of buffers
on device RX queues.

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_stats.c