From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0055.outbound.protection.outlook.com [104.47.34.55]) by dpdk.org (Postfix) with ESMTP id 191D22C01 for ; Wed, 26 Apr 2017 13:02:24 +0200 (CEST) Received: from BY2PR03CA066.namprd03.prod.outlook.com (10.141.249.39) by DM2PR0301MB1198.namprd03.prod.outlook.com (10.160.217.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Wed, 26 Apr 2017 11:02:22 +0000 Received: from BN1BFFO11FD022.protection.gbl (2a01:111:f400:7c10::1:171) by BY2PR03CA066.outlook.office365.com (2a01:111:e400:2c5d::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13 via Frontend Transport; Wed, 26 Apr 2017 11:02:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD022.mail.protection.outlook.com (10.58.144.85) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1047.9 via Frontend Transport; Wed, 26 Apr 2017 11:02:21 +0000 Received: from [127.0.0.1] (B35197-11.ap.freescale.net [10.232.134.49]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3QB2GoO018048; Wed, 26 Apr 2017 04:02:18 -0700 To: "De Lara Guarch, Pablo" , "dev@dpdk.org" References: <20170403105302.9685-1-akhil.goyal@nxp.com> CC: "Doherty, Declan" , "hemant.agrawal@nxp.com" From: Akhil Goyal Message-ID: <917cc04b-bf49-8c60-578b-1b57ffea889d@nxp.com> Date: Wed, 26 Apr 2017 16:32:15 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131376781416296849; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39400400002)(39840400002)(39380400002)(39410400002)(39860400002)(39850400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(3190300001)(52314003)(189002)(13464003)(377454003)(199003)(24454002)(9170700003)(2501003)(65806001)(4001350100001)(54906002)(50466002)(64126003)(305945005)(65826007)(38730400002)(31696002)(2950100002)(53936002)(105606002)(65956001)(120886001)(229853002)(7126002)(6246003)(5660300001)(6666003)(7246003)(8656002)(83506001)(77096006)(85426001)(36756003)(104016004)(230700001)(54356999)(31686004)(76176999)(189998001)(356003)(86362001)(50986999)(93886004)(53546009)(4326008)(23746002)(2906002)(8936002)(106466001)(81166006)(33646002)(47776003)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB1198; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD022; 1:2DiPnp9Vyus6KB65IV1khz+u9xd4YCb1qEDg4NaT8+ZkjpHuLi1k2aNBNDOCLrVxbSPnQ1XyZBFWKZ/fu8RbGZtntoU6cobymerOPVIY2dn4nrMqSeTp/6ghFXJzcHPTRGnHKdzZ2QAEtr67kFtLoxoVVBmf2qvXbx4H7m5zF16WrdiNkvEoWRH25KtXE762jIG9XEltAwCYNbJ7RN7rjQHVJO0Stq4k8bDVe1aDVTPMdB+apL/G1ENUi8ukGQ3L+iOLVEc0HcydqrHeaRr8xGMQs/pJkMvyM/8VuU2gppESK4eGugMpOsn6pSVoCh3clcn2CNMPXW1/bDHcl6CTxByt1v13KtXG/7yKus8CvSWkK9GJTMU6Jg7uAx6KP8hC6bh+Z+J+7XgFCMokAMRO+dVjRlwueZwCzNbXODLfYvWtJWuvB0P762Eo5YJH/vTes4G3pTFslGMU7EXyQu/w1mb9kgNtD8Iritto26LZI7UifU0IG2xROFBRtUoeMGxXiyO5XqjaJPK0R8GcccNQZPeosseoU50hufb7fRxwmJgesZrrq2rVP9Pr5ErcqqPRUVr45XX2fX3yR2omlrgQLVYysAHBxoy8riPAz5Okg9ZCMZT0oILVG4P2TXmRtEGbZOR03TdM4As1SL36p2GYRA== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ef7c373b-ee6b-41b9-1030-08d48c93b682 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:DM2PR0301MB1198; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1198; 3:Q+1/TbBkFu5dVQ64RSehtHdXEJMPkdeoDPz9C2L6VVzQcgvRyxswu1/PzaBy4clxipzFjlsvrzcOtJ03+Tsf7PTFnJd3Ja56ecy5694tfwXf+jfMOK6RCdGtejikKFyMwPkRCP1PH3HGCg7/I/NMrtffzBqVR9vgEEBwDmWvYoq/tWeHqB0ZB8hDq6tMMKGAG6jvhO1qSHI5wwiiXQW3ljcwAbEKaTGh6P9M4/65+bN8Z0tVzw/NrOqUIkcoGeGeag/r1oIpRGFS/uCQs3+EZgEV0uwOSVw7A00hn/AZ8LIigGdBv4fPQX8XM61sQoqSTgalKb/PzPvtI/Q2Qsir/9pkOMrAbidhG0s6/0xFF+thxsWelYlLBZHgU9pIwRm4c9SEINdzYpAR7RJQHWaReInaqDpFde9QVjsVujp+shEXAohnHPfdY8c1J0hr0ioG; 25:edcFRLfav98TLeKuU+IjldkoVuJmUv/dZcdB+wd4HV9YPdlQJU/cOyPR65cBOr/qVXDfIsK1sm4bhMoyV4WaZJO6tmLo9HjFzMyRlkcpmYbGKr8eU6cxXT5CkbYc/M1/Zw69PkUGdlIk11OwJ8nb/J76AEIopTz+XMbl4yJsX9cC8plHFX//AxnIMVMV5eNOiCU9CbzY4fPcvdlDhQZSUdOnnostOaMpGAax4+Ztp8KR7iNGKMjLOnjZmDIxtn8yRVRxX810hpAhUYDfrxb1ha6epta6m4cJYiE0vOYDuoA0yvC4v4gHy3THY+VdEEpNYRh/jwGAm1qY6+YUsQS3dS0IQd3ne+PjPicYlJf/myeCKsF6l69BrA1Xu/sR2fEdZKmk2u5Fah/nsXy9/mlQnutIJR0vW041JRR1UnIyaZTaGHqZGyiRK7CTgvDaw+KL/ROtRhVRX2Ds1nBAYSKBFA== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1198; 31:ON4ydm7pCiiTNEFyCLC3smrAbMxrOD02kcQtG5v83YoTQe95Ue63l1ou/gIrh8hV1h1eihvhP2zUF9tOe/bwSHLNWzW7Q1WyxR6wTO13zAHepAFIoi0lTUz9/FyT1jP42yxGz7+Q8l635r/y0aUfRBScXa7OSvTDovtVyIl49VWEA9tT9lmG+3kscqOB2yK9ZrQ/kyUwxUdI33lbzWjRJZpRDdel9FoJ/VqMnodfHIGyNJZVWAxfVqe6TAsnvEZRcuFGxF5or6bjFruWgC9B9s8qAJ8qUA90j501j5ZsW5w= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13018025)(13017025)(13023025)(13024025)(8121501046)(13015025)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123561025); SRVR:DM2PR0301MB1198; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB1198; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1198; 4:Vc+DoQt3jGjdiV2xWva0br5i4kZ6ROcXFnV6WC0gseosT1UeJt4GKvPoIJLbsxby1xrW2d4vt8Wv6ziNeSJrTqa0BBRi2GVFod2r9RccKB2osptGTzFfkZYHdoDDyoO742AMB5zehWriiUpVEzCWqUacn1JVa4kDsuwRhEXMMcdR33nqHHltd8VN93kaANY5OuTl7p+rHOcQvVLaPM5q5pOla14y/O70tdJx2hpkB8ancrULsxECrt/jyQ917uUrgitHf8p3TtIWSVmohF4EFHIoTHEt1zGkfsDYt/WmPzAcE90sOvVPU+nS/7gZyhEQFS+fnJmvROgrTqijDIyWY969F5eBnTXsqaqRUTeJuqUqfzYWAKOQ8KheRPEflXsYyxjQn7OmbFQ0f0xJtzlUagkdy06gxg8sXfUwM4uipl5a+x5slMFO2kwKv/3vbSQtTLEj/1cc8/u7cBDn4aVHNpUNulc6M6M+ie/YsaPK2SYKZFcs2jr1xN2rRlQmt85mcOzVc8zS7mxY3v7ZwwRmxNiWrPVzfNLF75rR4KOy1I8Baofs4nFjoYMhtbTYP07SMr1r7l0LkcmG4GiUvTApXg8cJGheunzUIDJfSydix+QawEfilokhcI24FHagyVU6l3Eq/jwEjIFZxXYcc19P++abI5kVU71UsXK6F/eGYKuQ2xZYdPd6WtvK1bHgx4atRRPWaYNAFG1ZrpdBreDe7/An549Ut7hXg4RermaynPLO8deyZoYxTdIWC9jX2YzlLk+mMf68RDvJWnKDK/YYqGag9bBSMr7xhUPhPG8ycbU/FMHITXiE5QzhorPEThRInUL7mu6Kksw7E/kkhcdlhcbWh6+tKYyJ2ZxCJaY31imD+b2XOvGpQhHKIo/e1J6580yvuZ8mv6R4f7/5xzlWzwhBv2xtcHkXeEZIOHfAvZc= X-Forefront-PRVS: 0289B6431E X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM2PR0301MB1198; 23:v/VtEvcOSVhSTtP0GC5+F9JNY2EcSzXH9Vr?= =?Windows-1252?Q?bxudyHitI2EDxC98qKpFoekGQGoomcwcVJy2FuGB83L5mDGjjl3FRQFE?= =?Windows-1252?Q?q/cI/B5+aeZd4Ocd564V10SK4rpCcEzIjojv2pPAdYOyG7UFhXXVS4qh?= =?Windows-1252?Q?3Y6w6vyyxUfiUUyspx9qYSfZYgbiPbM2WH0Faa63mu6UuFg8EhZjzGiO?= =?Windows-1252?Q?T/ffF2TVwHNNY7P2+nJenTjyRmjwQwjAnPoWus0EstJl3iUMAt+PSV0X?= =?Windows-1252?Q?mtfJcC68KhNPL/v3ekCool3tdR5/wBcocyge7khL4zqxHjpHHUm0h7zH?= =?Windows-1252?Q?hY94nU2aACR62P8SHms5PWYSwPZqj3xv2DpfFZFsU5+/Va3k8Mq1BOe0?= =?Windows-1252?Q?2AtzeNLgUfh5zMMiqAAiMVvMFVNjC6PxHdNy/EBT/lQsxiBfW/BeUqOx?= =?Windows-1252?Q?r/0PLiNY6/7n8oW1qLBm3SQE6ogX/guyiQY3ez+CxC+NUfmFIZy575lX?= =?Windows-1252?Q?3rt/TMEqyt0tilfJboHg75HFOJCuqTvT2x1WVsgH7HTax4hWS8owzVvD?= =?Windows-1252?Q?ZCX6rxz3L6xrgkYm58RgV8EqjXNqmR82WcpHBOn97ueZYtvC5baXiq2N?= =?Windows-1252?Q?ZWcmMVXKiT/N/IIX2eexuYwh35EzgpAnLWCd3GcS7xDl9/d5uaExytTu?= =?Windows-1252?Q?1FvQ1JC6lJFkp9N0uVpiRKypd/H5caHi8tV0kHAk5rvMJGd5dyj86uJ3?= =?Windows-1252?Q?n+IKNuwRp0NEQtRksRwwz5nvZfSE/190gSw6+dHwurwqvb6HIf7JBL6w?= =?Windows-1252?Q?87OdLgCABKG6+iGLf53hSICgBzXLInSasCupBNxgrcgxQKxhjMyZQ+Lx?= =?Windows-1252?Q?dBhgWBt36tcrSIV+Nlm4ecfPJwPM+S89xtxmIGjujQdv0/9nT+IW4uBo?= =?Windows-1252?Q?B7riHp8mENAfSGol+6pzUGQTi2Oe6dVCHfmY/Ac8WWex8xkFcRJrPWrJ?= =?Windows-1252?Q?VyWTPE/Fvs23mY7HAa299Bjlunld0+brR11iyo2GUBXNSNWSpOIiUFtX?= =?Windows-1252?Q?EtyZuWbE/y1HO4CYssU0Vjury9pJjYl811dBuT3NdNqPCU4xCSWtm0fr?= =?Windows-1252?Q?5Jye6s6tkRJ6s89CrqhWOEOicfZJUOdkMHkguDrGC566N9X/oQL3DK5y?= =?Windows-1252?Q?ICW81lxTcLScS4M1A/jHvzGrV61SOMsbBMA48ZMFkI75EbALehm0VBHL?= =?Windows-1252?Q?CfpHro5gHkti+9rI/CWvnkG1YoxSGEUh0BSthiBB7mN1dFHtDbo+MJOO?= =?Windows-1252?Q?hJT5Hxt/WshAmmYZr4xeXUZHjlr6kqY+DBNEshPmZDpS+clXoYLcVFPx?= =?Windows-1252?Q?PNyZ1O77/cqrX0dVV8eeH9lRUIs5J3tR+e5cVaB+be7P5BYIgf5xYq+C?= =?Windows-1252?Q?e/8g5kIckS4cMwd5tJvZNtsSCIL/6LzD5u1fGcmVFG3NT6VEC0kwKO91?= =?Windows-1252?Q?s2KLdNR8yZz34MPdtuPZ0dH+7MGnLb1sgxak9oTe1r2wyBi/4VfgkKfo?= =?Windows-1252?Q?tDt7ROZkhgfPNZ9TAvy07NjrCG6IcKJwpXLNrdsbmbEvUHFma0O8nA3n?= =?Windows-1252?Q?AwTM20NJ3NiaRqqsH2rhh55I6fSni3WzUxvZEEgNGOgpPq/4u81xm8Bm?= =?Windows-1252?Q?uOq3OfItEofRD+TVTE3pSFOx6C9fjDCh5J/XcpdSKD3TislEC1AXr?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1198; 6:GlNnupLgjlL2D18QAili7U6ib+j1X7PAvJF0mEGjQmBFI9jpOAAfPs/nWchHXD71cGcbvX3vPtntxLDOmwVypyJGf6c0P01EIxJnpTSj/UpNCDht4GwVobmo5m4am6ZrFqbLU8dURd4YBvxiRZdP4Gw5ZSvYv7+fZ0mYB/+oFA4uLmNJ7VpC8nsV/jGeYpK8gYmJL/82AiYwTk/KB6FQGSUoaFpxzHvTM4NITPrWhzSM8O6zSSHqngsPNYukpFWqNRU7/qNGdYvzEPuWyEA+r4VDG0BQGSNPvIg0fzwN2qztI1libqR8a2FBswLonEaMhr+lb3Hp6+9QXtGlKXc1/mZTnNpqaWRTmtswS3Sr5gtd1PtdMBWEkRPEudT1c3o0GjkQBPn42h/yDzSkEW2AznBb8t319Ma7leSRTfgc59oHslLM36Oj/g6iy/MuAnnnhdg7hNqk4ouqckt3gbT0CyEsnCAe5i24jjUUQ3I4N3am9TfL1fv6tJviAGBYmUkIzccG8+xwcH58K5lb7LdXew==; 5:izJD+Pg1QtS2UkfHUJCO9950ot/g5pBFdLDaxd8IQYkEBuvAoV+T5hhhjwfl/pptJ5lM0MamDW6DRiaCqt5LmEYAdNhcOsTyyGaovuUU3+SQVuX/EC7d1xlzskSg++b1Bt//qlPqTF5ZiPr1KJYxCj3yMB1qwn+ifXPAHlFUDopSLpzCJ1BHOQvyaLTdpNER; 24:VHm/UjYRH+nt3KMBKSaA5o/DJDwG2nNX0ZFRNOaur5Bc3r5kK9eKHcoTfiWe5DOBC7lRY+LRAg+VQanMkTPyJJGb/nF5VEH02OI6CwtaeTs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1198; 7:ird9iBpQRId32SXVkltXLTo4joNFpBaJH54Yl16MybzDSCwkxVQ0pOZ4RBXeX2FNiZlcAgcQ/b+ZTqlTpZkHmoeiJnCpfM/fm1ywFxXYmD3hRMeJVGiMkfamd0VI33PP+43/H2qRhwGm930EYpd1+0MIf9jxYEWZHkGvSVr3/h+1sI+6Wb/3ubju+96OG71hsNQsCGufhVgxBDXK0fqU7UUv8SWS2xVpIkqd+3/lY0STuGT0TnbYuBxyiRKC+/aQwRmMSDcMxp6Q7+wTBKpBHeKxTg1TPZ9KkP4HwuXD4RdQYM7eDT3TuO491+4nRwWiI9NzRp24fHu3Jdyh7r4S4Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2017 11:02:21.3956 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1198 Subject: Re: [dpdk-dev] [PATCH] test/test: improve dequeue logic for crypto operation 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, 26 Apr 2017 11:02:24 -0000 On 4/26/2017 4:12 PM, De Lara Guarch, Pablo wrote: > > >> -----Original Message----- >> From: Akhil Goyal [mailto:akhil.goyal@nxp.com] >> Sent: Wednesday, April 26, 2017 10:53 AM >> To: De Lara Guarch, Pablo; dev@dpdk.org >> Cc: Doherty, Declan; hemant.agrawal@nxp.com >> Subject: Re: [PATCH] test/test: improve dequeue logic for crypto operation >> >> On 4/26/2017 3:08 PM, De Lara Guarch, Pablo wrote: >>> >>> >>>> -----Original Message----- >>>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Akhil Goyal >>>> Sent: Thursday, April 20, 2017 11:48 AM >>>> To: De Lara Guarch, Pablo; dev@dpdk.org >>>> Cc: Doherty, Declan; hemant.agrawal@nxp.com >>>> Subject: Re: [dpdk-dev] [PATCH] test/test: improve dequeue logic for >> crypto >>>> operation >>>> >>>> Hi Pablo, >>>> >>>> On 4/4/2017 8:41 PM, De Lara Guarch, Pablo wrote: >>>>> Hi Akhil, >>>>> >>>>>> -----Original Message----- >>>>>> From: akhil.goyal@nxp.com [mailto:akhil.goyal@nxp.com] >>>>>> Sent: Monday, April 03, 2017 11:53 AM >>>>>> To: dev@dpdk.org >>>>>> Cc: Doherty, Declan; De Lara Guarch, Pablo; Akhil Goyal >>>>>> Subject: [PATCH] test/test: improve dequeue logic for crypto >> operation >>>>>> >>>>>> From: Akhil Goyal >>>>>> >>>>>> While enqueue/dequeue operations in test_perf_aes_sha, >>>>>> the underlying implementation may not be able to dequeue >>>>>> the same number of buffers as enqueued. So, it may be >>>>>> necessary to perform more dequeue operations if the gap >>>>>> is more than pparams->burst_size * NUM_MBUF_SETS. >>>>>> >>>>>> Other algos may also need to update the logic if required. >>>>>> >>>>> >>>>> In which way this patch improves the dequeue logic? >>>>> Is it improving the performance somehow? From what I see, it is >> unlikely >>>> that you are going to >>>>> experience the problem, as the internal ring is >> PERF_NUM_OPS_INFLIGHT, >>>> which is 128, >>>>> higher than pparams->burst_size * NUM_MBUF_SETS, which is 256. >>>>> And even if you do meet that problem, then you would be reusing >> mbufs, >>>>> but that is OK as we are not verifying the output. >>>>> >>>>> >>>>> Thanks, >>>>> Pablo >>>>> >>>> Sorry for the late response. Somehow the reply went to junk in my mail >>>> client and it got missed. >>>> >>>> The problem would arise if the underlying implementation cannot >> dequeue >>>> the same number of ops as were enqueued in a single dequeue >> command. >>>> >>>> Here we have a synchronous calls to enqueue and dequeue in the same >>>> thread, so it may happen that for every enqueue of 32 ops, there are >>>> lesser number of dequeue ops (say 16). There is no thread to dequeue >> the >>>> left over 16 ops. So the difference would increase slowly and gradually >>>> and the application will run out of buffers. >>>> So we need a mechanism to drain the left over dequeue ops. >>> >>> Hi Akhil, >>> >>> I understand, I guess that this won't happen on a software device, but >> might happen on hardware. >>> As said, I think it is OK to reuse an mbuf by two different crypto >> operations, because we don't check the output. >>> >>> Anyway, it might be safer to proceed your way. Two things about it, >> though: >>> 1 - This should be extended to the other tests (such as test_perf_openssl) >> for consistency. >>> 2 - Since we have the test-crypto-perf app now, which cover all these >> tests, I was thinking of removing test_cryptodev_perf.c, >>> to avoid duplications. Any concerns on this? >>> >> Hi Pablo, >> >> yes, this shall be done for other tests also, but I do not have setup to >> test all of them. >> And if we are planning to remove this file altogether, then we may not >> need it anyway. >> cperf_throughput_test_runner can alone be modified with my changes, but >> I can test on NXP DPAA2 platform only. I can send the patch for this >> after testing it on DPAA2 platform. > > For test-crypto-perf, you cannot encounter this problem, because the crypto operation pool is > the same size as the mbuf pool size, so you would run out of crypto operations before hitting this problem. > > Thanks, > Pablo > As I understand correctly, the pool_sz >= total crypto operations, this means, there is no mbuf getting reused. If yes, then yes my patch is not required at all. But, there would be limited number of crypto operations that we can perform in test-crypto-perf as we may not be able to allocate so many buffers. Thanks, Akhil