From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: Re: [PATCH] cryptodev: decouple from PCI device Date: Wed, 25 Jan 2017 10:18:01 +0530 Message-ID: References: <1484730970-2832-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: Hemant Agrawal , , , , To: Return-path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0067.outbound.protection.outlook.com [104.47.36.67]) by dpdk.org (Postfix) with ESMTP id 07C2B98 for ; Wed, 25 Jan 2017 05:43:27 +0100 (CET) In-Reply-To: <1484730970-2832-1-git-send-email-hemant.agrawal@nxp.com> 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 Wednesday 18 January 2017 02:46 PM, Hemant Agrawal wrote: > This makes struct rte_cryptodev independent of struct rte_pci_device by > replacing it with a pointer to the generic struct rte_device. > > This is inline with the recent changes in ethdev > > Signed-off-by: Hemant Agrawal > --- > drivers/crypto/qat/qat_qp.c | 12 +++++++++--- > drivers/crypto/qat/rte_qat_cryptodev.c | 6 +++--- > lib/librte_cryptodev/rte_cryptodev.c | 6 +++--- > lib/librte_cryptodev/rte_cryptodev.h | 4 ++-- > 4 files changed, 17 insertions(+), 11 deletions(-) > Next step would be to remove rte_pci_driver from eth_driver and rte_cryptodev_driver and make it generic. Reviewed-by: Shreyansh Jain