From: Vipin Varghese <vipin.varghese@intel.com>
To: dev@dpdk.org, pablo.de.lara.guarch@intel.com
Cc: stable@dpdk.org, john.mcnamara@intel.com,
marko.kovacevic@intel.com,
Vipin Varghese <vipin.varghese@intel.com>
Subject: [dpdk-dev] [PATCH v3] doc: add info on multiple instance SW crypto
Date: Tue, 6 Feb 2018 21:41:57 +0530 [thread overview]
Message-ID: <1517933517-1210-1-git-send-email-vipin.varghese@intel.com> (raw)
In-Reply-To: <1517924630-16163-1-git-send-email-vipin.varghese@intel.com>
Add infomration to explain applications using multiple instances of sw
crypto with example.
Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---
V3 Changes:
- moved the multiple sw crypto to more generic place holder - Pablo
V2 Changes:
- Updated Note for better wording - Pablo
- Multiple instance information to Crypto Device Lib - Pablo
---
doc/guides/prog_guide/cryptodev_lib.rst | 9 +++++++++
1 file changed, 9 insertions(+)
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
--
1.9.1
next prev parent reply other threads:[~2018-02-06 16:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 14:31 [dpdk-dev] [PATCH] doc: update multiple instance info for NULL crypto Vipin Varghese
2018-02-05 15:54 ` De Lara Guarch, Pablo
2018-02-06 13:43 ` [dpdk-dev] [PATCH v2] " Vipin Varghese
2018-02-06 16:11 ` Vipin Varghese [this message]
2018-02-06 16:23 ` [dpdk-dev] [PATCH v3] doc: add info on multiple instance SW crypto De Lara Guarch, Pablo
2018-02-06 21:22 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1517933517-1210-1-git-send-email-vipin.varghese@intel.com \
--to=vipin.varghese@intel.com \
--cc=dev@dpdk.org \
--cc=john.mcnamara@intel.com \
--cc=marko.kovacevic@intel.com \
--cc=pablo.de.lara.guarch@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).