From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akhil Goyal Subject: Re: [PATCH] test/crypto: fix number of queue pairs Date: Thu, 27 Sep 2018 17:16:07 +0530 Message-ID: References: <1537623216-592-1-git-send-email-fiona.trahe@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org To: Fiona Trahe , dev@dpdk.org Return-path: In-Reply-To: <1537623216-592-1-git-send-email-fiona.trahe@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/22/2018 7:03 PM, Fiona Trahe wrote: > Some of the tests use a QAT-specific value (2) for > maximum nr of queue pairs to create valid/invalid test cases. > This has accidentally worked ok as default max_qps for all PMDs > is larger. It is incorrect however and would fail if a device > had a max lower than the QAT value. > Instead use the value returned by the PMD in the > rte_cryptodev_get_info query, this value is stored in the ts_params. > > Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") > Cc: stable@dpdk.org > > Signed-off-by: Fiona Trahe > --- > Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks, Akhil