]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/rawdevs/ioat_rawdev.rst
raw/ioat: add statistics functions
[dpdk.git] / doc / guides / rawdevs / ioat_rawdev.rst
index a0594d2cb14051e5cab62d5b1c1ea68a6d047a17..40210b3f9a7f0dbd642673918dfb2342ed442d0d 100644 (file)
@@ -149,3 +149,17 @@ The following code shows how the device is configured in
 
 Once configured, the device can then be made ready for use by calling the
 ``rte_rawdev_start()`` API.
+
+Querying Device Statistics
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The statistics from the IOAT rawdev device can be got via the xstats
+functions in the ``rte_rawdev`` library, i.e.
+``rte_rawdev_xstats_names_get()``, ``rte_rawdev_xstats_get()`` and
+``rte_rawdev_xstats_by_name_get``. The statistics returned for each device
+instance are:
+
+* ``failed_enqueues``
+* ``successful_enqueues``
+* ``copies_started``
+* ``copies_completed``