From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AA2801B6F4; Tue, 6 Feb 2018 17:11:54 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 08:11:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,469,1511856000"; d="scan'208";a="15878250" Received: from unknown (HELO localhost.localdomain) ([10.224.122.203]) by orsmga008.jf.intel.com with ESMTP; 06 Feb 2018 08:11:51 -0800 From: Vipin Varghese To: dev@dpdk.org, pablo.de.lara.guarch@intel.com Cc: stable@dpdk.org, john.mcnamara@intel.com, marko.kovacevic@intel.com, Vipin Varghese Date: Tue, 6 Feb 2018 21:41:57 +0530 Message-Id: <1517933517-1210-1-git-send-email-vipin.varghese@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517924630-16163-1-git-send-email-vipin.varghese@intel.com> References: <1517924630-16163-1-git-send-email-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v3] doc: add info on multiple instance SW 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 16:11:55 -0000 Add infomration to explain applications using multiple instances of sw crypto with example. Signed-off-by: Vipin Varghese --- 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