From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0088.outbound.protection.outlook.com [104.47.38.88]) by dpdk.org (Postfix) with ESMTP id 3BED42BB9 for ; Thu, 8 Jun 2017 19:06:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sJ8E6Gv72ebKc8cOWNcefngAE1Qvs0exeMfQ8nXZEvE=; b=eIDFovcXOXcWs0/pNuokdQYSulsZwHMjdGRy/6psh1f1qWDkR2E2MxCCwuoTDWNmKSM0dj9+XVt3rtvaBTGBA4Go0duuzImeuaKpqrIox+1j0xy3bSmDkoSnswl65yCpUfcZAnYemG6tDzMY4PZnVK9SkeoPrVcp9nuQ5Cy0VHo= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 8 Jun 2017 17:06:25 +0000 Date: Thu, 8 Jun 2017 22:35:48 +0530 From: Jerin Jacob To: =?iso-8859-1?Q?Ga=EBtan?= Rivet Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com Message-ID: <20170608170547.GA15360@jerin> References: <20170606141046.32103-1-jerin.jacob@caviumnetworks.com> <20170607084333.6338-1-jerin.jacob@caviumnetworks.com> <20170607092726.GO18840@bidouze.vm.6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170607092726.GO18840@bidouze.vm.6wind.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0006.INDPRD01.PROD.OUTLOOK.COM (10.174.214.144) To BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0701MB1723: X-MS-Office365-Filtering-Correlation-Id: ac5877fe-9e05-4ca6-73ae-08d4ae90b4af X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 3:reC0D6a7Qz0q7bqle8j5NYmCzk5icsQFwSqk8HpYqZuW0hEqMPSwFD8GsI+TO0Fc/oSgg+dxdMUMUe2nopOiUZI0rLi9+4U+LYyEjxeyx3G3lY4R6CPCumoU5s+4KZci2dr1ZisYdp5cxxA7vMkhpz3PbqofTY3cb4Ms1l7leWmF+RY0zwCysqfOnq1dRAlAlTBJ/Fg5cTB1ujYgqTpOPnPsGJm1VvBp2/H1LABriU6qpJnk1BxWYugdDqf4PH14RaeNIu8SCnHjAvpfQCsRSjh2dUPoOIN/6+bJbes51+iYgPRuD4RLiAFZ0C8/OB6oPG9K5JjTDM12ALfjKxqIhQ==; 25:UY/nhTEiWfPdAUz2bCcxy/wL5HejXLq1DMwO/kgf8JclQ9J8tJ61YZC3Oxq6lUMyBkCSNLgV4QihK+N/pR07NxvxZbhWtwbOKJegTBDMmbk8t0TFgWIjz45+BwMoLNdzlLviRZnN1mFZ81bqdZwEcsL/5ZglOSEMRaQeijMc0WR+Hs5KZXuUXkmKH+zzclrLxRgAJ5fK5CfIh/yOUgPheUc7U7WyKjQeANCVQJLHsGnfIio1D8bFN6RpWL16Mz/5czUrBmzJA2nlAbLe1bT1nSMFvwqU1AttzNGQ+Uxmpnv4IGoDXBwDBsGd/dd3c5i2/Fl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2xW3Z8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1723; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; BY1PR0701MB1723; 4:mHiN8TDZyK6zn6j5BW/yufMASjjqsZElq4LIam?= =?iso-8859-1?Q?nvv7O5q58X/AHelLXPRiEWZNF9Ah/y3SSAHtzSlKGJ9MOoA/PNT9zarl8/?= =?iso-8859-1?Q?0qVghHtESnTz65gvCt+RWRnaD54IFUt29ml9nNooXtB1uBt1ybmM1LWatt?= =?iso-8859-1?Q?tJdwq5EyaeMSnxBFqbIfUPjJXJmA9GNqrew4YIQCX13CqaKMKKgA/s4XIH?= =?iso-8859-1?Q?dhS4rcJER8voQm2yTF7NndWNMp8vOLK7Fr5tRWEi+TOIMBblSOkY8MAd/O?= =?iso-8859-1?Q?IxlVpSs+3Mox6SJ0hz8yzUrmZdWqymIoKGYWYagf7faAcQREDKsPRn1fj4?= =?iso-8859-1?Q?/ndjW8vTIIjwkr8r2fDy1lbuOK5AOmduT+aP1GRdhYs1TsPoS2OQFgi4Ph?= =?iso-8859-1?Q?M1eMXZs6pljUor0oPJCtunXmg0huyVkkw/8pjJZIK42ZPtH0YJrGgoBgiK?= =?iso-8859-1?Q?CifwIVo95azZz8edNejcyp2eZPg7SCacqhJ2//wswEp9d5opPKTv1jvb4e?= =?iso-8859-1?Q?S0pgKv0hvQy31mOezuL2yYusUtXtxIlrWpenymp+sRijQrUL3GMxOkMYy8?= =?iso-8859-1?Q?/AEM5R393IwKqsU9j088D1kjntvgh0y8HV5vz02LYTSiC8evF+rbrAMaHW?= =?iso-8859-1?Q?f4+73IymvABMvKtpTi8udL+4M18w7fh7OzUtw1vHIEWRtH5g4WasR1UBfB?= =?iso-8859-1?Q?da0jTdEfElBwX0b5P4wTGP/ymixlg07aKxWFQ+4kq3xhyQSt4ghqthB3dj?= =?iso-8859-1?Q?lCU9wTnSKYLD5DJPabesWr8mq+uKwm6huADZlQXqGuhOnoBm+1XQ+o9Y/5?= =?iso-8859-1?Q?8JhQ+9TIUZ0YDd6NmBK3lAy10yGFXzS1L3C7SartqFt2DBv89D0r++Ix5u?= =?iso-8859-1?Q?vrf4n5kqshzCwR4oetEDNYMLexXnGm8k/E8IVvUbMef5Z52SIc/IvYKYdV?= =?iso-8859-1?Q?fikyQ/GhTBWuTwFXbpZyIH00okgBYSrKIcajrmohNO5wMPR0fP9YzLsw+g?= =?iso-8859-1?Q?td+/s7rp7BjUsF0Qx49QYLbspd0Jm29Nz/dowp3/UGV/hFrarqiSDRQLVG?= =?iso-8859-1?Q?7Whf4ba/qb5nPJx7xvKnHwaWlSFtxLD4TTiTWG1uW/ECkL/HEnpMFO05Kl?= =?iso-8859-1?Q?dkZVwVBWpFaN/39itpsLLQOG9jzIVHapWzZTSKhqZ1n5QxvGK5wLEnpLNx?= =?iso-8859-1?Q?GySfLnfk+6qKkFQVCneIaAx4CkJLD4OvxKGX2l4KR7BTHfUiawyBe4+zsX?= =?iso-8859-1?Q?FQLaRtv+gFXn4RwAkD?= X-Forefront-PRVS: 0332AACBC3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39830400002)(39450400003)(39410400002)(377424004)(24454002)(13464003)(38730400002)(6496005)(33716001)(110136004)(5660300001)(4326008)(7736002)(6246003)(55016002)(8656002)(9686003)(229853002)(47776003)(8676002)(478600001)(72206003)(23756003)(81166006)(66066001)(1076002)(6916009)(2950100002)(6666003)(42882006)(5009440100003)(2906002)(42186005)(3846002)(305945005)(53936002)(189998001)(25786009)(50986999)(54356999)(33656002)(76176999)(2870700001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1723; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; BY1PR0701MB1723; 23:X1MitsJ7QQB6onSBeqh+SPsJGnoV6MxgTNMoM?= =?iso-8859-1?Q?WX7qqpLxPRd044qaqjdj0yVdzO3m4G/2KetwL+/i/K8I4a9TPdG3VBViyI?= =?iso-8859-1?Q?PDxaEuvhTgdpIbMMyyxhxtUhr9vvb4lnES7f+D1IwRqeNEWJEimXTqwfzr?= =?iso-8859-1?Q?r7YJUKmdV7/VUK0uHQJ6T5/a1snEyBl5RqX+Ri0eixJcWIV9suv7KnjIcb?= =?iso-8859-1?Q?WUjxiT75s2GE+UzIM+HaGzqGYOl07bIkK6mIdKCxjcq3QLZz9rbpfEKvZm?= =?iso-8859-1?Q?fAK5zuXUQmKCi+iXcPs1mbrxSePbkMfV7edmoV5UJk+1soTnNnVSruPFC4?= =?iso-8859-1?Q?oxncVztnsT8rUhXxQTGKnfy37So68gqbJVtzuC3Qn03G9SsJXbgYpqrI0z?= =?iso-8859-1?Q?YbJLe2YF/uJZG8Mw7i3gXMr5er8DR1tEb4PKXG6or37Wk+g6VnSZJWwj23?= =?iso-8859-1?Q?GHnPhkNWcuVYQFufjoKKFaTPNh/tX1+H5xnLQgStfPYFLKajxi9QBSJsno?= =?iso-8859-1?Q?LxD6+gtCLoIOCNy25w5gFRAKr9zQgbl2FIi5zT/3HmDzR84p/YXCCmDrwg?= =?iso-8859-1?Q?OdT3IXV17Qh9NaMiMEbeof10ph1D2hBY+LR/QlXDDYdCKHoRfVbxc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Tq5MXdW1fJXY3oNY3rVEdoB6DWUKWFGnu3FwMfu+UbG838EzXZlVHI9i9OPZdagGI3cObb1C7lvaVd+HkdSelhPyzwwnDbcHvbzrzM3y3q1lshdIkd4oecoVZQRyFgR56qgozCVDrhvvhXEcGu59EUHWrmVc3P2TZLmwzUkkeGOyPGJG/AbS4jQd+gyI3mhwaIlCXCJqsrJVo160KeWeh8SJ2CudU5T7mCDwIK4VdhIleTMrEn/QxLpGvuTqXNouOKjIPkeOH4abdpbmQ7UMnaGVSSnJpDg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2017 17:06:25.8658 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1723 Subject: Re: [dpdk-dev] [PATCH v2 0/4] Remove PCI and VDEV dependency from eventdev library 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: Thu, 08 Jun 2017 17:06:31 -0000 -----Original Message----- > Date: Wed, 7 Jun 2017 11:27:26 +0200 > From: Gaëtan Rivet > To: Jerin Jacob > Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, > hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, > narender.vangati@intel.com, nikhil.rao@intel.com > Subject: Re: [dpdk-dev] [PATCH v2 0/4] Remove PCI and VDEV dependency from > eventdev library > User-Agent: Mutt/1.5.23 (2014-03-12) > > Hi Jerin, > > On Wed, Jun 07, 2017 at 02:13:29PM +0530, Jerin Jacob wrote: > > v3: > > Removed the bus dependency by spliting lib/librte_eventdev/rte_eventdev_pmd_pci.h > > and lib/librte_eventdev/rte_eventdev_pmd_vdev.h > > > > It works with the PCI bus now, good job. > Small problem however: to compile drivers/event/sw/sw_evdev.c, two includes were > missing: > > #include > #include > > I added both to rte_eventdev_pmd_vdev.h to quickly fix this and test the > compilation otherwise, but maybe this is only necessary for sw_evdev.c. I tested x86_64-native-linuxapp-gcc + dpdk.org master on following versions of gcc. I couldn't see the compilation issue. Anyway, I will send the next version with suggested header file changes. gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC) gcc version 7.1.1 20170528 (GCC) > > Thanks > > > Jerin Jacob (4): > > eventdev: remove PCI dependency from generic data structures > > eventdev: restructure event PMD release function > > eventdev: make PCI probe and remove functions optional > > eventdev: make vdev init and uninit functions optional > > > > drivers/event/octeontx/ssovf_evdev.h | 2 +- > > drivers/event/octeontx/ssovf_worker.h | 1 + > > drivers/event/skeleton/skeleton_eventdev.c | 33 +++--- > > drivers/event/skeleton/skeleton_eventdev.h | 3 +- > > drivers/event/sw/sw_evdev.h | 2 +- > > lib/librte_eventdev/Makefile | 2 + > > lib/librte_eventdev/rte_eventdev.c | 148 ------------------------- > > lib/librte_eventdev/rte_eventdev.h | 2 - > > lib/librte_eventdev/rte_eventdev_pmd.h | 101 +----------------- > > lib/librte_eventdev/rte_eventdev_pmd_pci.h | 160 ++++++++++++++++++++++++++++ > > lib/librte_eventdev/rte_eventdev_pmd_vdev.h | 133 +++++++++++++++++++++++ > > 11 files changed, 323 insertions(+), 264 deletions(-) > > create mode 100644 lib/librte_eventdev/rte_eventdev_pmd_pci.h > > create mode 100644 lib/librte_eventdev/rte_eventdev_pmd_vdev.h > > > > -- > > 2.13.0 > > > > -- > Gaëtan Rivet > 6WIND