DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vipin Varghese <vipin.varghese@intel.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, pablo.de.lara.guarch@intel.com,
	john.mcnamara@intel.com, marko.kovacevic@intel.com,
	Vipin Varghese <vipin.varghese@intel.com>
Subject: [dpdk-dev] [PATCH v2] doc: update multiple instance info for NULL crypto
Date: Tue,  6 Feb 2018 19:13:50 +0530	[thread overview]
Message-ID: <1517924630-16163-1-git-send-email-vipin.varghese@intel.com> (raw)
In-Reply-To: <1517841119-9277-1-git-send-email-vipin.varghese@intel.com>

Add foot note & example to inform user how to use multiple instance.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---

V2 Changes:
 - Updated Note for better wording - Pablo
 - Multiple instance information to Crypto Device Lib - Pablo
---
 doc/guides/cryptodevs/null.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/doc/guides/cryptodevs/null.rst b/doc/guides/cryptodevs/null.rst
index 03a3ddc..f476e9d 100644
--- a/doc/guides/cryptodevs/null.rst
+++ b/doc/guides/cryptodevs/null.rst
@@ -41,6 +41,10 @@ each mbuf in the burst will be enqueued in an internal buffer for collection on
 a dequeue call as long as the mbuf has a valid rte_mbuf_offload operation with
 a valid rte_cryptodev_session or rte_crypto_xform chain of operations.
 
+.. Note::
+
+    In case of multiple NULL cryptos PMD instances, each should have unique id.
+
 Features
 --------
 
@@ -91,7 +95,9 @@ The following parameters (all optional) can be provided in the previous two call
 
 Example:
 
-.. code-block:: console
+-.. code-block:: console
+
+   ./l2fwd-crypto -l 1 -n 4 \
+   --vdev="crypto_null,socket_id=0,max_nb_sessions=128" \
+   -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "null"
 
-    ./l2fwd-crypto -l 1 -n 4 --vdev="crypto_null,socket_id=0,max_nb_sessions=128" \
-    -- -p 1 --cdev SW --chain CIPHER_ONLY --cipher_algo "null"
-- 
1.9.1

  parent reply	other threads:[~2018-02-06 13:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05 14:31 [dpdk-dev] [PATCH] " Vipin Varghese
2018-02-05 15:54 ` De Lara Guarch, Pablo
2018-02-06 13:43 ` Vipin Varghese [this message]
2018-02-06 16:11   ` [dpdk-dev] [PATCH v3] doc: add info on multiple instance SW crypto Vipin Varghese
2018-02-06 16:23     ` 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=1517924630-16163-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).