net/mlx5: report imissed statistics
authorTom Barbette <barbette@kth.se>
Fri, 23 Nov 2018 08:03:37 +0000 (09:03 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 16:31:06 +0000 (16:31 +0000)
commitce9494d76c478345679abbda2a5606646de9886f
tree5ed949f2c1cb9d2706590ec99f8cecf6cc3a6845
parent8eb9f9f025a04a37a678c9dfa1921dec87543f5e
net/mlx5: report imissed statistics

The imissed counters (number of packets dropped because the queues were
full) were actually reported through xstats as "rx_out_of_buffer"
but was not reported through stats.

Following a recent discussion on the ML, as there is no way to tell the
user if a counter is implemented or not, this should be considered a
bug. For example, user looking at imissed will think the packets are
lost before reaching the device.

Signed-off-by: Tom Barbette <barbette@kth.se>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_stats.c
drivers/net/mlx5/mlx5_trigger.c