From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50070.outbound.protection.outlook.com [40.107.5.70]) by dpdk.org (Postfix) with ESMTP id 3421B1BEF8 for ; Wed, 4 Jul 2018 14:42:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IrbOS9PzMNutA7GVJfP1h5c93ls5JP8vo/lidx7GxVA=; b=PvSkZbX0TgKrE4eTc3BpGBujl+T6kjywmn4fSWyaHWxjidMhg1SgBm7ogy1FmcUIfyhW2+dU4Ht1gN1jfK5SHWuoLE2hl3QibUkgT9nVo2RMKC9fJJKI15MKC9NMpnKMNCBinXMu5KYooVcM/HTLcY5j3Wfh2so/tKgiGE/jBHM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.142.187.166) by DB5PR04MB1381.eurprd04.prod.outlook.com (2a01:111:e400:58da::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.19; Wed, 4 Jul 2018 12:42:36 +0000 To: Pablo de Lara , declan.doherty@intel.com, shally.verma@caviumnetworks.com, ravi1.kumar@amd.com, jerin.jacob@caviumnetworks.com, roy.fan.zhang@intel.com, fiona.trahe@intel.com, tdu@semihalf.com, jianjay.zhou@huawei.com Cc: dev@dpdk.org References: <20180608220234.10170-1-pablo.de.lara.guarch@intel.com> <20180628005304.26544-1-pablo.de.lara.guarch@intel.com> <20180628005304.26544-10-pablo.de.lara.guarch@intel.com> From: Akhil Goyal Message-ID: <74b68fb7-9618-93a9-2dd1-c0963290633a@nxp.com> Date: Wed, 4 Jul 2018 18:12:23 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180628005304.26544-10-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0047.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::33) To DB5PR04MB1381.eurprd04.prod.outlook.com (2a01:111:e400:58da::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5dd6dd0b-02d9-448f-7f1a-08d5e1ab9fc8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(48565401081)(5600053)(711020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB1381; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1381; 3:mrghDcqKT8WSLOtzxEeP9p+w0jLlurMm8IWaCU0B8i9tr4PjgrpecMuBmKIykCMALzi9Wpv3/p8S5xal34FiFGtljrANRe2DaVMHyEGj5wbR49r9MPwcZHNDcexJmFjzEvnYfzyo5n8GcheK25UoRkKPemYoFuCNZKoi1eNTDbw51w41uqMnRUrbcp1bI5a3vvMUD+3P89rJVuB8Dp41B9DkoUFIQER/Bw8gHFosMvwxr9Vgw5FXuwRqUDpUjtWj; 25:81OwxbP9RZy+eyFqsDpPn/bspZgfzGs5r9GxrQEBlMS/alCYVY+GkCz6+B/+Y09SyHSf1bwTPGs/PvNFaLPVagkJOPwdmZpuXode53V/zTd561X9SHl4YO4ccWPTOwAM1RhdlYGFhOCqejRhiy5xmOdsCs6if56IC5AlavLQ7lyrxEizDNHt4cvFZLC4CrGd1Pnc2HVXl3PnHLi+fEZvp8266HPy2h076OwXwT7gX0j+X07akioukTyNijQXYRPQRw55aVW/nEohg6w3+X4B9s3SLZSNXI3/cUP1x6iJMie5PxTVVQZ+JgmNvx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7CRAvul3q1vGXJJjLx29BFzAyUXsqkR1bIOptTkbB7mZNuZo14GBhviDryhvqlrAK/gsz5ebbwg6rH2SRhz X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:DB5PR04MB1381; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1381; X-Forefront-PRVS: 0723A02764 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(136003)(376002)(346002)(366004)(39860400002)(396003)(199004)(189003)(305945005)(44832011)(6116002)(3846002)(105586002)(6246003)(106356001)(476003)(446003)(486006)(36756003)(50466002)(53936002)(2906002)(66066001)(65956001)(65806001)(25786009)(3260700006)(58126008)(47776003)(16576012)(316002)(478600001)(81166006)(81156014)(8936002)(8676002)(31686004)(229853002)(67846002)(76176011)(4326008)(14444005)(31696002)(6486002)(86362001)(68736007)(55236004)(5660300001)(386003)(6666003)(186003)(53546011)(65826007)(11346002)(956004)(2616005)(97736004)(26005)(64126003)(230700001)(7416002)(16526019)(52146003)(52116002)(7736002)(77096007)(5009440100003)(23676004)(2486003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1381; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjVQUjA0TUIxMzgxOzIzOjBUcWFtMTdSYWdFcnNMMXpmNlBtaDd1NmNN?= =?utf-8?B?djd5WHN0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jdIq+nRZ5sUQ6riTfzHteJYfXujInoo5ilUMbnsnUXDm+A/K9uBDYeOLdw4LE2ThGxt8IdvJME63DQW/rsAcoGzlVrkS0wbGc6Ng8hD+bHtXRER/BXtAvfEQXe+vgneTIEZI2YPiLvki8ZdQMQ2YgL4ymQ==; 5:9jcOltmARH0I8eBE20CXzD0Zg7JPuQrZbSV2YvDPtaPJg//LfzIBL9XrKpBZkBFMn6Q3r+J9XykHQH7lWVIbUK7dOUKxiP0ZxNAY2J5F6EuBrv6PxBEIaO016GruiwMVFZjTRjeJP25Lf5mObv1bOsE+CiPP2F/YmzirFAEZPu0=; 24:uE8zBP2LGI3hoB7EAsl4msmFqpg5tel6WAulqBeDjjx2IwYpTFZUFNGUvcr54D9QVd8NMfVDFyeGiQZw744rWr/EhuHrKhGDAiBG7ymM0sk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB1381; 7:Ul3pOic320hFmmSnO/KHwKNnT1UR6RODS7GV17wEeU9/wKZFcTG4xvByxcY2J2wKj20b5HPn+rbK7NVRcGxLPq7ed7tm8zosdZYwmoC0JbE/2o5dujVIxRhB4dSkhV44neW7/3cCIYP2+XmlWV6TxcfaST72zQmBkLQHjPxIH0feOG/m3+0pvpgxwyXzVVej9pxNoixSgFXSQYn/GXdWNgvkFa1W5DxoXKMtMX7TDUd1g7vGRIS5vpOquv0Kh7b9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2018 12:42:36.0061 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5dd6dd0b-02d9-448f-7f1a-08d5e1ab9fc8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1381 Subject: Re: [dpdk-dev] [PATCH v3 09/16] cryptodev: remove max number of sessions parameter 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: Wed, 04 Jul 2018 12:42:39 -0000 Hi Pablo, On 6/28/2018 6:22 AM, Pablo de Lara wrote: > Most crypto PMDs do not have a limitation > of the number of the sessions that can be handled > internally. The value that was set before was not > actually used at all, since the sessions are created > at the application level. > Therefore, this value is not parsed from the initial > crypto parameters anymore and it is set to 0, > meaning that there is no actual limit. > > Signed-off-by: Pablo de Lara > --- > doc/guides/prog_guide/cryptodev_lib.rst | 5 ++--- > drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 5 +---- > drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 3 ++- > drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h | 2 -- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 5 +---- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 3 ++- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 2 -- > drivers/crypto/armv8/rte_armv8_pmd.c | 5 +---- > drivers/crypto/armv8/rte_armv8_pmd_ops.c | 3 ++- > drivers/crypto/armv8/rte_armv8_pmd_private.h | 2 -- > drivers/crypto/ccp/ccp_pmd_ops.c | 3 ++- > drivers/crypto/ccp/ccp_pmd_private.h | 1 - > drivers/crypto/ccp/rte_ccp_pmd.c | 16 +--------------- > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 4 ++-- > drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 2 -- > drivers/crypto/kasumi/rte_kasumi_pmd.c | 5 +---- > drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 3 ++- > drivers/crypto/kasumi/rte_kasumi_pmd_private.h | 2 -- > drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 3 ++- > drivers/crypto/null/null_crypto_pmd.c | 5 +---- > drivers/crypto/null/null_crypto_pmd_ops.c | 3 ++- > drivers/crypto/null/null_crypto_pmd_private.h | 1 - > drivers/crypto/openssl/rte_openssl_pmd.c | 5 +---- > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 3 ++- > drivers/crypto/openssl/rte_openssl_pmd_private.h | 2 -- > drivers/crypto/qat/qat_sym_pmd.c | 6 +++--- > drivers/crypto/qat/qat_sym_pmd.h | 1 - > drivers/crypto/scheduler/scheduler_pmd.c | 13 +------------ > drivers/crypto/scheduler/scheduler_pmd_ops.c | 14 +++++++------- > drivers/crypto/snow3g/rte_snow3g_pmd.c | 5 +---- > drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 3 ++- > drivers/crypto/snow3g/rte_snow3g_pmd_private.h | 2 -- > drivers/crypto/virtio/virtio_cryptodev.c | 7 +++---- > drivers/crypto/zuc/rte_zuc_pmd.c | 5 +---- > drivers/crypto/zuc/rte_zuc_pmd_ops.c | 3 ++- > drivers/crypto/zuc/rte_zuc_pmd_private.h | 2 -- > lib/librte_cryptodev/rte_cryptodev_pmd.c | 12 ++---------- > lib/librte_cryptodev/rte_cryptodev_pmd.h | 4 ---- > 38 files changed, 49 insertions(+), 121 deletions(-) Relevant Defines in config should also be removed.