[dpdk-dev] [v5] cryptodev: add telemetry endpoint for cryptodev capabilities

Gowrishankar Muthukrishnan gmuthukrishn at marvell.com
Tue Oct 26 17:44:30 CEST 2021


Hi Akhil,

> Please send a text to update in the documentation.
> Will update it while merging the patch.

diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guide/cryptodev_lib.rst
index 25663e552e..223e933bf4 100644
--- a/doc/guides/prog_guide/cryptodev_lib.rst
+++ b/doc/guides/prog_guide/cryptodev_lib.rst
@@ -1308,5 +1308,9 @@ are shown below.
      {"/cryptodev/stats": {"enqueued_count": 0, "dequeued_count": 0,
      "enqueue_err_count": 0, "dequeue_err_count": 0}}

+#. Get the capabilities of a particular Crypto device::
+        --> /cryptodev/caps,0
+        {"/cryptodev/caps": {"crypto_caps": [<array of serialized bytes of
+        capabilities>], "crypto_caps_n": <number of capabilities>}}
 For more information on how to use the Telemetry interface, see
 the :doc:`../howto/telemetry`.

Thanks,
Gowrishankar
> 
> Acked-by: Akhil Goyal <gakhil at marvell.com>


More information about the dev mailing list