From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 5FCEF2C56 for ; Thu, 7 Jul 2016 17:53:29 +0200 (CEST) Received: from [2606:a000:111b:40ed:7aac:c0ff:fec2:933b] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1bLBbv-0006S9-H2; Thu, 07 Jul 2016 11:53:19 -0400 Date: Thu, 7 Jul 2016 11:53:00 -0400 From: Neil Horman To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20160707155300.GC26064@hmsreliant.think-freely.org> References: <1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com> <1467905790-10597-3-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467905790-10597-3-git-send-email-thomas.monjalon@6wind.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Score: -1.0 (-) X-Spam-Status: No Subject: Re: [dpdk-dev] [PATCH 02/11] crypto: fix parameters registration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 15:53:29 -0000 On Thu, Jul 07, 2016 at 05:36:21PM +0200, Thomas Monjalon wrote: > The name aesni_gcm was used to register parameters of several > crypto drivers. > > Fixes: cb6696d22023 ("drivers: update registration macro usage") > > Signed-off-by: Thomas Monjalon > --- > drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 2 +- > drivers/crypto/null/null_crypto_pmd.c | 2 +- > drivers/crypto/snow3g/rte_snow3g_pmd.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c > index 859a04b..e3dea54 100644 > --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c > +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c > @@ -722,5 +722,5 @@ static struct rte_driver cryptodev_aesni_mb_pmd_drv = { > }; > > PMD_REGISTER_DRIVER(cryptodev_aesni_mb_pmd_drv, aesni_mb); > -DRIVER_REGISTER_PARAM_STRING(aesni_gcm, "max_nb_queue_pairs= " > +DRIVER_REGISTER_PARAM_STRING(aesni_mb, "max_nb_queue_pairs= " > "max_nb_sessions= socket_id="); > diff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c > index 0a195ed..7df88a3 100644 > --- a/drivers/crypto/null/null_crypto_pmd.c > +++ b/drivers/crypto/null/null_crypto_pmd.c > @@ -276,5 +276,5 @@ static struct rte_driver cryptodev_null_pmd_drv = { > }; > > PMD_REGISTER_DRIVER(cryptodev_null_pmd_drv, cryptodev_null_pmd); > -DRIVER_REGISTER_PARAM_STRING(aesni_gcm, "max_nb_queue_pairs= " > +DRIVER_REGISTER_PARAM_STRING(cryptodev_null_pmd, "max_nb_queue_pairs= " > "max_nb_sessions= socket_id="); > diff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c b/drivers/crypto/snow3g/rte_snow3g_pmd.c > index ddb724c..465d020 100644 > --- a/drivers/crypto/snow3g/rte_snow3g_pmd.c > +++ b/drivers/crypto/snow3g/rte_snow3g_pmd.c > @@ -646,5 +646,5 @@ static struct rte_driver cryptodev_snow3g_pmd_drv = { > }; > > PMD_REGISTER_DRIVER(cryptodev_snow3g_pmd_drv, snow3g); > -DRIVER_REGISTER_PARAM_STRING(aesni_gcm, "max_nb_queue_pairs= " > +DRIVER_REGISTER_PARAM_STRING(snow3g, "max_nb_queue_pairs= " > "max_nb_sessions= socket_id="); > -- > 2.7.0 > > This would be fine, but based on Lauras recent comments, this needs additional fixing to work with the unit tests, I've posted a patch in response to her report Neil