summaryrefslogtreecommitdiff
path: root/doc/guides/nics/mlx5.rst
diff options
context:
space:
mode:
authorTom Barbette <barbette@kth.se>2018-11-23 09:03:37 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-12-13 16:31:06 +0000
commitce9494d76c478345679abbda2a5606646de9886f (patch)
tree5ed949f2c1cb9d2706590ec99f8cecf6cc3a6845 /doc/guides/nics/mlx5.rst
parent8eb9f9f025a04a37a678c9dfa1921dec87543f5e (diff)
downloaddpdk-ce9494d76c478345679abbda2a5606646de9886f.zip
dpdk-ce9494d76c478345679abbda2a5606646de9886f.tar.gz
dpdk-ce9494d76c478345679abbda2a5606646de9886f.tar.xz
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>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
-rw-r--r--doc/guides/nics/mlx5.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 23f0f57..2c516fe 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -172,7 +172,7 @@ Statistics
MLX5 supports various of methods to report statistics:
-Port statistics can be queried using ``rte_eth_stats_get()``. The port statistics are through SW only and counts the number of packets received or sent successfully by the PMD.
+Port statistics can be queried using ``rte_eth_stats_get()``. The received and sent statistics are through SW only and counts the number of packets received or sent successfully by the PMD. The imissed counter is the amount of packets that could not be delivered to SW because a queue was full. Packets not received due to congestion in the bus or on the NIC can be queried via the rx_discards_phy xstats counter.
Extended statistics can be queried using ``rte_eth_xstats_get()``. The extended statistics expose a wider set of counters counted by the device. The extended port statistics counts the number of packets received or sent successfully by the port. As Mellanox NICs are using the :ref:`Bifurcated Linux Driver <linux_gsg_linux_drivers>` those counters counts also packet received or sent by the Linux kernel. The counters with ``_phy`` suffix counts the total events on the physical port, therefore not valid for VF.