From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from DM5PR03CA0008.namprd03.prod.outlook.com (10.175.104.18) by CY1PR0301MB0745.namprd03.prod.outlook.com (10.160.159.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Wed, 25 Jan 2017 04:43:26 +0000 Received: from BN1BFFO11FD003.protection.gbl (2a01:111:f400:7c10::1:123) by DM5PR03CA0008.outlook.office365.com (2603:10b6:3:118::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Wed, 25 Jan 2017 04:43:26 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD003.mail.protection.outlook.com (10.58.144.66) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Wed, 25 Jan 2017 04:43:25 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v0P4hKVE007638; Tue, 24 Jan 2017 21:43:22 -0700 To: References: <1484730970-2832-1-git-send-email-hemant.agrawal@nxp.com> CC: Hemant Agrawal , , , , From: Shreyansh Jain Message-ID: Date: Wed, 25 Jan 2017 10:18:01 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1484730970-2832-1-git-send-email-hemant.agrawal@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131297930053061955; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(7916002)(39450400003)(39850400002)(39380400002)(39860400002)(39840400002)(39400400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(24454002)(199003)(377454003)(189002)(189998001)(23746002)(85426001)(229853002)(2950100002)(6666003)(92566002)(356003)(6916009)(53936002)(230700001)(305945005)(38730400001)(83506001)(104016004)(33646002)(110136003)(77096006)(68736007)(97736004)(5660300001)(65956001)(65806001)(47776003)(4001350100001)(31696002)(2351001)(86362001)(54906002)(64126003)(106466001)(36756003)(626004)(105606002)(81156014)(81166006)(31686004)(4326007)(8676002)(8936002)(8656002)(50466002)(65826007)(54356999)(2906002)(76176999)(50986999)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0745; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD003; 1:NfXKHPAcyHqNib+jH/PR2FWiAOc8IK1i4xKg9nVH4xSbkPisnekrdmF3ogvBD/0l1nmkTeVAvOXUIh3gwzLA/ffzOGkA2aanfegSFBdpgBVFpSlrqqHlrNRQbBKdxL84Nd7kt3s3El+d437/EU6H4v3RsmfWyJMvrE+5CxljFV8B3ChuSebIFx6wQYJ1NjEUEFuzlAaxJfnnMWZlMBQeXtfbkD28s6MCLW0lonwbV9h2+n6Bv2raJ0pu2CXG1K0mColH473GMB+kaauVCVEzjvb9Uz5Uqm20olU0X4UcT3Jud6/kAveUh+mKWin5LEU3xMvTc4vlrTQZZJxkrrkzA1FIjU9kMYkwTgwZ7D7Rbk5B7U286IjUvrJslEuWz9IWjtl9fUDmemuZD5zDdImprIo4hOljjXsgxQi7gSkqjiyb50c7SaZs3M5Gaw3QMs7fJQCdmdzKBtdW0Eh96S00dT3JpFDIhtr/h3+lFZ+l0/BnEV5FZ6+sMpl87Byct/FXrXihre1loJ6lh2IfWa+qEI1YLD1c2NIOPSY8ZalAbA2CYY8YWUrHtX0GH1AbYpuwkIGFUR8Z+IMaSWlBjRfEVh+l5eA/P96HDiA6clklrR8= X-MS-Office365-Filtering-Correlation-Id: b41b1da2-b874-44ab-8d43-08d444dcb305 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0301MB0745; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0745; 3:sUpBVsnDekwMpW3c09umRlNx//ooPh9MrcB1PEHl6fgjLHjOCZfB1ez+YwobdCCSFOh9KsNr7lmujCZShwWHS9FP9rDMWn4e0ak3kfva9LGemvDwTAwrscZ5zAQNZrIsofTK6Cwd1oaAGatuAH4XugQv7kLe88OCs/D5JdmYFOWzVi3sP9qYx1z6pH9ACTi9crOAcibBEEirfAPPOKqiECkwNXxDh2LAS4CSRlbnwoaN3Z1zR6e+kXvZ5LMW4YRsXfIyItGCgCV2IdA2uV66xr7d3PM4SCLCbd6MMpwcAB+4K61wJm5TAQrrGdHq9zrsm9WjU9FcZmtMn0jZYKgeusQEe3zDNOd95Ujp2S8lLY6D3BYusE8g7Xg6E/JVIfHd X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0745; 25:kyL7r2/5cvrXIJur0N8UUK+rNWeCbpKuCVBl7n20yJ4FI5/RRD0xm3DYQzUf09JAfCc0QVSrpBJ14WTI5sdTi03A2kg+lAqaRR37D9Y4svH6iqXMxVms1DqJeWLTPXi7UFFWakD75WtWkjcfYLFW/KHEFdhsvTiT0HwkCyFXa3YYYHEAi5Arqy9/iqdadGDVMWFePQk+5flrZyNtDoUVD6VoTVtjKthvHuPAeQ6coMI6uMhR2PV8lzObJioALjK1WXCFH5djJBPETgGPVcCJKwEoW03+XZezG47N9TqN/+Cx+1kVowKLyTugoHNYUEZoul1R3VSct7t8WlSN2PwlL3I/jB5TuAza8g2qIOxQqzLRPprBiRxnMFBwXRj1lCFDfNMTQzGsmhiDAKZ6Lxz2ycsSkdH2WHMExU1Zy+7b8+lygNxF9H1Cy5lzbBCqq96m214rc8j57WRuJC1d8JyYm1Q1ZIc2Zm074Xglkf+BfvIVtQRB4WDASsTKIXeXfPV2bcLMBfr3ewtGNCIX1ySQN9cppXqkj6X98FEbJyE3wGQr3QAas9vIdmUcCe748EjChzHPDDC0KBPPZ6G3y/c+H+V07/UBE617B99gluzwTjgWATbIgJ0qhn8ndLbEcgqyYNm4MsH3RXGuP3jnSxoyB/YKzaUsOlrjUzWa24sLOyCy+4OX12IKQNjeeSj7yj19mSkiHiu9C6E4e831Oyo0eM1Vs0NqjQKhSIMgkFFEPxM+LpaT6XxkdAsuGpTDUNje X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0745; 31:wfNstHCh/EcY1QRjBYlOScGmU0NjLNEvbsxgOTnj1W65K0KkEmcizy95lF+/LNHfiImSq4HkTafqNvv0zHj+BtYctJJsFVW+QNPi/UeZs07LbmKzFLuNILzwZPyP6KS2kidgIeK6KDc8YJRXM/Nt00/lUzIXvL/sqB42LNuyCYj5WbeYbtZxzn0kPOJzSvDdLhr4UxOGSCwjJdN9p3w9rLKnDFs2rSBfW6JWxb1r4GvXEE40uB7pvdihLOf+qg5SK5D37j1dyMLs1hr91NcZ0A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(5005006)(8121501046)(13015025)(13017025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123565025)(20161123559025)(20161123563025)(20161123556025); SRVR:CY1PR0301MB0745; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB0745; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0745; 4:jbNWzBhRCAN8RY4B0n6XXrDRdBe6Mv30bSu2g7AVhvfpz+wFvWls/x+YNs4+wMOUjFrQMYn8dAse2UNSPUjoPMs7Uxy+Viat2Ljt+G7nqTmrt1/i669nFz6Whtslnn3AmtUl8ZJMMRIA2KGMlsTCSpK/cmfbE2N4/XfiBhfTBl+IqGAzP+yyg+iJv3inz9VH7/dMIAUcmD8x8555PQRd8fIXO3n4lLO8BKG+8UOB7c/Ghd8JFSrLVx5XAet8aEjhRHq9fW6tmf2q2adETdLvXo55lqAswAfa4vwV1dVeFvsfMz+6JWpSRdN4/vhHmnnJMOJigVlKDgWnS9MlWgD/sQt5JHJbtaR3UyZFxPi8jj3pAQ4P7R1NPoD1Gfm9XnEYMslvXDhCGZIKdC2muYb1fuArd1Ic8sPDn9VbkRxzNBDxJzrvcDjCBwccyG19xaBIbfylHHt6ylX+4QUv1Fu8wUYUUsTyFd0d6+R5NIS69vroaLUrDYCToOd/5SgmHwTpS7U1Pvt8N4jRDi/WpMIS3Z6d4rp/ul0KW151HHY5oDoTCOUjj3+MzI5HI0CBslGYSf9nG2bxs6aleYPmNfwC76D4MLfPfIIJuK1N3OLyW+rBDV8orQLH5+TdxR1QeU3izzRF7jS4opo743yAjUCjD8TP38C5FUFlTCTrmM+8adpulVzriJoVuyB3EsHpJKFvWkNTaDvhQL/HmIC/mn2yYaTH+Av4xgOp+JRatDWEDbUh3NGGH4egsjRfqexvSEz7 X-Forefront-PRVS: 01986AE76B X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY1PR0301MB0745; 23:ekDlGYBhpcFIMa5K+9VskUXC9cqiQzePuqu?= =?Windows-1252?Q?qxQO5i8M/HqwMBnUBcs4tUQQp4AGl2FkBsVYPqfRD/pxg0JZs7MRWdF8?= =?Windows-1252?Q?nIHOmH0NtX1uB6K0ZU9mZxuSVECK/VPgQ42xNnv0vBcmFdMspnC8hycQ?= =?Windows-1252?Q?ZFRMbAR2rrn635cFu0V1JGd1If+w6xmZMEEI6YPZx3vprwvlg2pT9h2L?= =?Windows-1252?Q?glI91UND9iReFFahSQ37KsOOgwl5W7V9IgeRk+SdDFC3Co42TvgPtyhT?= =?Windows-1252?Q?wnS03aXfb5SxznU0U3PtasR9/QrOKxsBb2a6f5pS056D4EaNb1NMWHgz?= =?Windows-1252?Q?SDjJdZ8mPEpeMNSzKkE6Rky0d/rqPU7i/wvffmeIQ1p1fCrZXC1DpKln?= =?Windows-1252?Q?SC60UPFp7IGsGf5e/npZTcTB/zzzweU5aeZQNFgtsLhz5f3jMUwAIWHv?= =?Windows-1252?Q?vmsrpiMFbb2nKlZBz5w8G5Pu6yOZ8owV9uhvlHqohqkHbn8fe6Da3UBZ?= =?Windows-1252?Q?dB0aHF5f/aXWId7P/EMnxMpTfYvkucMMcmmRHXZ6V1yJZxTmf73ssYmx?= =?Windows-1252?Q?WnauL6FAPZvUW/bzADb2c8l56nelc8qGdn4gHdQklj+nNf+XJhyEkaqk?= =?Windows-1252?Q?Qglm2lUTYcZ3aT7gKQFeQTzUi71TimZ2wVTcu7rXwl/d+2/jC+o2CIjA?= =?Windows-1252?Q?/uSKbKab4CJQlMO7gICZBMS95xh/1KouUpwxxnlqsLnA1r2YLihNnrOs?= =?Windows-1252?Q?f5xq583rjgYUUeAC8zz9/ngYSN9FIaFviNJoK+2kf1tHxINvAAwK4UFu?= =?Windows-1252?Q?Pyt5MW/O8XU7XZm8T/dW2VeZ1f6gcIRz9TNfhUvXjeKHQvW75f+p+vnA?= =?Windows-1252?Q?iqmASUzm8ybdN0lIY+dl0TYWF3T2ECGsP8httYIvHddBsIREixZ+zwxQ?= =?Windows-1252?Q?kEghj1NtvgSX2op9FTVLWfBjUAUk01WDvZlu1sZJQ3+c+36KsuCDNwrY?= =?Windows-1252?Q?RXgJRY2v+0edGSYfXKNjAyfx7OOaAJPaEka52/1gnDDshy71EU3+K6sr?= =?Windows-1252?Q?T5+4WdLQahAiAZAfXiJwr37Hur2nYdc6s6rnOl4zMIhT1RiPx1efuAtp?= =?Windows-1252?Q?IWVXATZcr8dtE98/mjTCIN81iolf12pmNzFf9jOcvt7+hgbyio2ucdMS?= =?Windows-1252?Q?ziU+kg/FlTIqQVcnut+7hJyVIuwwu868AIhEDyAHMCKgF1Zj//rDb89K?= =?Windows-1252?Q?KnIIy6B1Bpc4zL/0uwTITmxTojktygYEVi4BJEfillqROx/19xiZRJvP?= =?Windows-1252?Q?WUgv0IJrz5hzKLG8qe5vHIk1mjC4dCZNmI8tlYQZn+Hu38pSDA6WD0yz?= =?Windows-1252?Q?nieV6EBHEygsnIpS3zHu0dQoSmpkxoOnT9h65HRBdDx7R0PjPHDK7H6R?= =?Windows-1252?Q?ZU3Z4oSxO2DwToFn7kF57Sw/iCZlx9Kstu8vkyIu0JGRs93L8x54c7pQ?= =?Windows-1252?Q?nzgiQGWH5hDQMOc2R+u13wPUcxea4R44VRV8ra40dahP6cCxINwvqH9K?= =?Windows-1252?Q?ek5I6kDk2556qKtUa+vDK2m88piA9yHnObqj6w03stJFHo1mU02YhgFt?= =?Windows-1252?Q?rV6sH8AQAf7UTRF2W9C/zKSsNKpfgIYXvRdzpehDiWlDvUP8+mCy3omN?= =?Windows-1252?Q?LtjinIavIBEWHj/uKl/tLHHDs30wspLcEk1QziDjI7rEGaWGdZlLN+fh?= =?Windows-1252?Q?VYjbrUxoSynKheQLZEqd3ocBoLpTJbkj9aMTRNVJCNZQUE6Du2M8icXn?= =?Windows-1252?Q?XASs/?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0745; 6:9wr0d43XKr/tpWvl14xl0h2FoyAoCruAEek5eTD6z0g47nt5vzoPq1GPQhXyfgn2ToEQEsv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Mp2FEcRKrTgm7w7tp7QrhFUuP55Cu/QlRO/uslZBZhH7sM86yRfKOWU6k9cO16VUEBtHaJytZfN6tDPpUWm95CrsIfU0o+OFqiH5ZXvl47pXMMSICvFQAElnXR1PEvoyv6ZeRFTidjbVa3oQ66HVUab/B/A== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2017 04:43:25.1345 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0745 Subject: Re: [dpdk-dev] [PATCH] cryptodev: decouple from PCI device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2017 04:43:28 -0000 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