From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 910B7A00C2; Wed, 4 Jan 2023 11:59:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 399FB40A82; Wed, 4 Jan 2023 11:59:07 +0100 (CET) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by mails.dpdk.org (Postfix) with ESMTP id A41A740697 for ; Wed, 4 Jan 2023 11:59:05 +0100 (CET) Received: by mail-qt1-f182.google.com with SMTP id a16so26871578qtw.10 for ; Wed, 04 Jan 2023 02:59:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0Mwln0P/Acr/TK2GcDvnyiBOUJOM/6UZ/dVwrVMkQMs=; b=VCO8EFQLqr9Pd4x8mQYtjprPu/DE40WAdv/8WTxnXGrKuDWUjdakNCSR3+QjiU/1BZ w+TmpLKcW6aQwZdLtKTypGJXvGL+W/FsPMqVsg10lFftTfZuIe5uoHbli4xGZLtDtjB8 oPbkUO8Hl7m2ukb1YEYqXGxGE+gGLcvebVZ+SSR4StaLTaozsNnr6kLcpYdfWm6QpcUq rlaUuXJamtz9JlmamTWojvg9TFX5zkCno8D0MTpJeti4lhN/izlER1oxj1haclnoNDWN dtGb28ru/r56FUoGIYx2hehh1BJozCcTnftqbEEgU6cayMM5TkIhbO64Kx0wsvTt/0jz KHEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0Mwln0P/Acr/TK2GcDvnyiBOUJOM/6UZ/dVwrVMkQMs=; b=Vtdx9XKT0ayt0PT9TrhIY0FHJzr47zp1rJTWPRhdTGUo+9DPs6pNqWy7ueHwuPkI/6 PH5UMSzmZCvaUX0hQuSXwHPYCJhs9klqFjpwR3osPJM1fyIqvTFFeEpgB99RzgNYwfrn N8cu3Vrvu3pp51tgd5PDuPgKinX6FPs54jMUz+Yfz2fgmHd83KVrGprG3yqinjjbVzjl bBoIwsTTkH7xUFqy3azeAgeUpnX++WvGfjgmwC/qDUnvp2Zl4RYwoRxMZPrk6wnZP1sk bJo/JzjnQcTmHH5g1ZJfFukSzdC/YZWVEQBc1zNlHlAMXsTYrkR4KP/L1RV7n8aD6C+w PbgA== X-Gm-Message-State: AFqh2kpWYv1+iZcHPHWxAhJScV7UZLXiafaQIvCG7WNYIRU0tPCKwPpT E5eUwougD/uSUVIWn9e0xIk= X-Google-Smtp-Source: AMrXdXudlSDMJiu2vunmjEs6/9Eic/XBU2Aez4UcK+OwumXjN3G06xpopv8t02EZtecdeq8+xXWVLg== X-Received: by 2002:a05:622a:1e99:b0:3a8:2ccb:f55d with SMTP id bz25-20020a05622a1e9900b003a82ccbf55dmr71448686qtb.33.1672829945025; Wed, 04 Jan 2023 02:59:05 -0800 (PST) Received: from [10.249.157.70] (nat-216-240-30-11.netapp.com. [216.240.30.11]) by smtp.gmail.com with ESMTPSA id p18-20020ac87412000000b003a4c3c4d2d4sm20094557qtq.49.2023.01.04.02.59.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 02:59:04 -0800 (PST) Message-ID: <7107cb6f-69e2-808c-6274-583a4484b9ca@gmail.com> Date: Wed, 4 Jan 2023 10:58:59 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] cryptodev: increase default max nb queue pairs To: Anoob Joseph , Akhil Goyal , Ruifeng Wang , Gagandeep Singh , Hemant Agrawal , Kai Ji , Pablo de Lara , Matan Azrad , Zhangfei Gao Cc: Ashwin Sekhar T K , Jerin Jacob , dev@dpdk.org References: <20230104073021.1039-1-anoobj@marvell.com> Content-Language: en-US From: "Zhang, Fan" In-Reply-To: <20230104073021.1039-1-anoobj@marvell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 1/4/2023 7:30 AM, Anoob Joseph wrote: > Increase default maximum number of queue pairs to 64. For sw crypto > PMDs, the number of queue pairs can be increased as required. The > default value (which is set to 8), prevents usage of sw cryptodev PMDs > with larger number of cores. > > Application would be allowed to specify the number of queue pairs it > wishes to use. Only the upper bound is changed from 8 to 64. > > Allow PMDs such as crypto_armv8 to run on larger number of cores. > > Signed-off-by: Anoob Joseph > --- > lib/cryptodev/cryptodev_pmd.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h > index 0020102eb7..913a8f3623 100644 > --- a/lib/cryptodev/cryptodev_pmd.h > +++ b/lib/cryptodev/cryptodev_pmd.h > @@ -29,7 +29,7 @@ extern "C" { > #include "rte_cryptodev.h" > > > -#define RTE_CRYPTODEV_PMD_DEFAULT_MAX_NB_QUEUE_PAIRS 8 > +#define RTE_CRYPTODEV_PMD_DEFAULT_MAX_NB_QUEUE_PAIRS 64 > > #define RTE_CRYPTODEV_PMD_NAME_ARG ("name") > #define RTE_CRYPTODEV_PMD_MAX_NB_QP_ARG ("max_nb_queue_pairs") Acked-by: Fan Zhang