From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akhil Goyal Subject: Re: [PATCH] lib/cryptodev: pass rte driver to REGISTER macro Date: Tue, 13 Mar 2018 18:03:45 +0530 Message-ID: References: <1520617478-21509-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: pablo.de.lara.guarch@intel.com To: Fiona Trahe , dev@dpdk.org, jerin.jacob@caviumnetworks.com, roy.fan.zhang@intel.com, declan.doherty@intel.com, jck@semihalf.com, tdu@semihalf.com, dima@marvell.com, nsamsono@marvell.com, jianbo.liu@arm.com, hemant.agrawal@nxp.com, ravi1.kumar@amd.com Return-path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50064.outbound.protection.outlook.com [40.107.5.64]) by dpdk.org (Postfix) with ESMTP id BEF095681 for ; Tue, 13 Mar 2018 13:34:07 +0100 (CET) In-Reply-To: <1520617478-21509-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 3/9/2018 11:14 PM, Fiona Trahe wrote: > Pass an rte_driver to the RTE_PMD_REGISTER_CRYPTO_DRIVER macro > rather than an unspecified container which holds an rte_driver. > All the macro actually needs is the rte_driver, not the > container holding it. > This paves the way for a later patch in which a driver > will be registered which does not naturally derive from a > container and so avoids having to create an arbitrary container > to pass in the rte_driver. > > This patch changes the cryptodev lib macro and all the > pmds which use it. > > Signed-off-by: Fiona Trahe > --- Reviewed-by: Akhil Goyal