From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 435F61B6CC; Tue, 6 Feb 2018 14:43:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 05:43:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,468,1511856000"; d="scan'208";a="16265247" Received: from unknown (HELO localhost.localdomain) ([10.224.122.203]) by orsmga006.jf.intel.com with ESMTP; 06 Feb 2018 05:43:43 -0800 From: Vipin Varghese To: dev@dpdk.org Cc: stable@dpdk.org, pablo.de.lara.guarch@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, Vipin Varghese Date: Tue, 6 Feb 2018 19:13:50 +0530 Message-Id: <1517924630-16163-1-git-send-email-vipin.varghese@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517841119-9277-1-git-send-email-vipin.varghese@intel.com> References: <1517841119-9277-1-git-send-email-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v2] doc: update multiple instance info for NULL crypto X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 13:43:47 -0000 Add foot note & example to inform user how to use multiple instance. Signed-off-by: Vipin Varghese --- 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