summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVipin Varghese <vipin.varghese@intel.com>2018-02-06 21:41:57 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-02-06 22:29:26 +0100
commitc149818b0e510fd8962ad06f6a388c04a967e0d0 (patch)
tree35fa81667292d581e565afeb89a3ac78ec7c4923
parent10b9d471a6f838ae1bd75a57085741561fd1f890 (diff)
downloaddpdk-c149818b0e510fd8962ad06f6a388c04a967e0d0.zip
dpdk-c149818b0e510fd8962ad06f6a388c04a967e0d0.tar.gz
dpdk-c149818b0e510fd8962ad06f6a388c04a967e0d0.tar.xz
doc: add note on multiple crypto vdevs
Add information to explain applications using multiple instances of sw crypto with example. Signed-off-by: Vipin Varghese <vipin.varghese@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
-rw-r--r--doc/guides/prog_guide/cryptodev_lib.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guides/prog_guide/cryptodev_lib.rst b/doc/guides/prog_guide/cryptodev_lib.rst
index 2b338b9..d11e377 100644
--- a/doc/guides/prog_guide/cryptodev_lib.rst
+++ b/doc/guides/prog_guide/cryptodev_lib.rst
@@ -70,6 +70,15 @@ From the command line using the --vdev EAL option
--vdev 'crypto_aesni_mb0,max_nb_queue_pairs=2,max_nb_sessions=1024,socket_id=0'
+.. Note::
+
+ * If DPDK application requires multiple software crypto PMD devices then required
+ number of ``--vdev`` with appropriate libraries are to be added.
+
+ * An Application with crypto PMD instaces sharing the same library requires unique ID.
+
+ Example: ``--vdev 'crypto_aesni_mb0' --vdev 'crypto_aesni_mb1'``
+
Our using the rte_vdev_init API within the application code.
.. code-block:: c