.. _clicmd_src_plugins_dpdk_cryptodev:

===============================================================
Cryptodev cli reference
===============================================================

set cryptodev assignment
-------------------------------------------------------------------------

.. code-block:: console

    set cryptodev assignment thread <thread_index> resource <inst_index>


Declaration: ``set_cryptodev_assignment`` `src/plugins/dpdk/cryptodev/cryptodev.c line 815 <https://github.com/FDio/vpp/blob/master//src/plugins/dpdk/cryptodev/cryptodev.c#L815>`_

Implementation: ``cryptodev_set_assignment_fn``


show cryptodev assignment
-------------------------------------------------------------------------

.. code-block:: console

    show cryptodev assignment


Declaration: ``show_cryptodev_assignment`` `src/plugins/dpdk/cryptodev/cryptodev.c line 662 <https://github.com/FDio/vpp/blob/master//src/plugins/dpdk/cryptodev/cryptodev.c#L662>`_

Implementation: ``cryptodev_show_assignment_fn``


show cryptodev cache status
-------------------------------------------------------------------------

.. code-block:: console

    show status of all cryptodev cache rings


Declaration: ``show_cryptodev_sw_rings`` `src/plugins/dpdk/cryptodev/cryptodev.c line 746 <https://github.com/FDio/vpp/blob/master//src/plugins/dpdk/cryptodev/cryptodev.c#L746>`_

Implementation: ``cryptodev_show_cache_rings_fn``