From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0079.outbound.protection.outlook.com [104.47.40.79]) by dpdk.org (Postfix) with ESMTP id 103245699 for ; Tue, 6 Jun 2017 11:01:39 +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=BSzFLAePKHuBo3VPbzgQZ6HV3smEMZwFm8P5XPed17U=; b=jv5EAaEThv4osND37z6EeXcvt9VF+K6uA8fPr0B/9iOBrNrR9WZb1uaxKI4wZv+R80tP/MsToh4wK3CXO/gO/dBUe4+1hYyE10uCISh3xpUD2H7Sl0YHF6LxObHQjUQ395+re46p4HInlqsEkoc22eK12ZW12CZfKKhvMf8RFGY= 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 (122.167.102.185) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 09:01:34 +0000 Date: Tue, 6 Jun 2017 14:31:18 +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 Message-ID: <20170606090117.GA25773@jerin> References: <20170601164146.13501-1-jerin.jacob@caviumnetworks.com> <20170605125555.GJ18840@bidouze.vm.6wind.com> <20170606030547.GA20006@jerin> <20170606080921.GK18840@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: <20170606080921.GK18840@bidouze.vm.6wind.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [122.167.102.185] X-ClientProxiedBy: PN1PR01CA0108.INDPRD01.PROD.OUTLOOK.COM (10.174.144.24) To CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0701MB1726: X-MS-Office365-Filtering-Correlation-Id: cd7677df-b79d-4d6f-be27-08d4acbaa33d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 3:JoWYRBrGxwjAlcnIfnuSZCf802cpGiYEZS8NYubCirKI32QCNAEWYkzYSRP0ArtIuuzSS+eUZvAktlO9QT3mP/e5EO1gJyLZgiWur8jP/D7DMw+43AKDgZn1MhY6PWOqmFT3jC8ZK/UcEplroLuI8K7CJ4rbZjR7b1gftXBs4pguXxN/PKo+i2sT19Tgf9AWs0BtD1Zy9JQqcuzl9UU5h+3yZNLEYSoit4mb3/ca+FERrz/II1WcY3gVTr/oSlyDCu8epeqVPiBjItJcNLBZQWOgCk51nsiCMvXexwhbqU9UOF5ZyqcupEuxsvwz7XWZ1Xwp1wx0eUKXDacgny2jgw==; 25:VXNKcHzSNCLnDBO07NIIANHG3TwPgVgBKcxtujfBTdCb8Pahb+aaZP7OJhmsA7VYpZWLP3H4TkffE4UdQJJ2fEcSdVkOb55S+EyBm+864hUl8aaRnGPqqTnQAtgsYWuuUU/XOKBT1dIUoLZ4LyApoODCLoaDh5npG7QurEIASyy5NSZjOoLe4Ctr3kekBZLTORraFWCFekNremLvsYyW8PKBRry/0D/WiyaVtnHrwqIyu+eymEsVQZvgMqtjuTo2RXmg9QcIrrt2C81YfHUiHcgw9DTFXIcds8Fm7RLTtsI6mGB3sGQATr+efImlR402BGHQjiaYVFjZfP+HVImE4cYj2EwJEY1uj5Iq+fR4NV+rEh4Ge34U74lc0y4DWjrSjvzsGOfJ9xVV6fHBvdJt+2YhpgicZQQE68uKmqDuEjtL6TVKMN6GhhSL+J3oZN0pgMRTH6DCnG5BUoqhmG2iP4zC02W5AZlzbLrVIm/nkcA= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 31:XvHqjVQWubu8HHCV3lYo6YcrSXIOA25DVoIteblLCB2o+dz/oScxEnyWEyZWYdma42vu94uTbFQF+tyDEuHCAikyo5uWlIg3OwjPliRYi8ueGHlxVv4aCjMuIbHfqrLZysc9j/SfoEO42+P6Mdl4gA/5nAPgR+ltCn63Ua2QDt2iaeNEfeusTxdExnA5cHskWE0B8E2dkpBJv/Rd6Ey6dyV7+wqVXPy10VtiBoGmphLxMvGa+tfeJPoF+KqkzJ72; 20:iHikAR5Xny8cfjWQGvpF2yHlcri7Bdib3b/oK6mMopoUf3TOXHvofJX40hfpAKNw3HwUWPX7HgmAwYCICgG+IhZCPtOBuJEm2zI6S06qNKuUCWhfaNTSkiT+nSaDLWfWnDctcBsyEIPfolOWUm6zDdpRWRIwr6sNAWd2AL3tQqc69W89k9SGJSCgJklqL49R0Cg39c+X94ZfI0QG1KAOOvMxoqmyd1kay21OeLEGjSiNWYJSx2R6aycq2imHwBFTAT4yjJbpvl0cSXA7iQgeDCKHFxUVJp0SWh0caUSWSYIohDozKi7brQ2JDn44KLBJEbB2Jm40Q8yG4N9TiJChurg4r2eGkRTvaXFcket/F6sJrhdVwNf9EuMOjckrqIX5/dywJimvRF9UsaUF+bxJ/thJ5maodzv3tp+1ipu7O0GmS+l541eNtX7wId9ZzrmqgJeV0ZSXxTg2AZ4GZTRTSz0w6JpMa9mziw6A+V/mO7IMuzVn1LErDtwH9rzbtD/2IuEHmSKaIjhxIJMIt7bxKZahuYTkAmRQ3ekk5s+6nt8ofd2H9MOKe827SAOzNYdauDEix/xB1r310sQJACJrA4/iluHbPHD9Mw7KQaM2apo= 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)(93006095)(100000703101)(100105400095)(3002001)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; CY1PR0701MB1726; 4:r0mOrV9OBXusdhUcYPHEhwHeCRgLvG1xyzquKQ?= =?iso-8859-1?Q?LZpdlqjQo6yX4xYSTWOFLeRMjUUe6QjODUtqdQCnGDWR8k5q6hZWcsyDX1?= =?iso-8859-1?Q?eiY5+aQl3HA9ABIchg500dC6hgMrmZ2pEwWa2jER/VPA1po7F9nC1f4ZHP?= =?iso-8859-1?Q?fhL4uKsd8kA+Bhizb7caNL8dBAl3szWYF6W5VOEaW6qP82Emf9EC3QDNHT?= =?iso-8859-1?Q?nu/x7eDzZYAIf5i3r8AG50AGIDHZ1CT2P4v0+KkgjnRWbCRvlMdoR/JwYK?= =?iso-8859-1?Q?afovOFwD6kt/IBq2qrnFbOCDUJEXukxFluuSI2ZdiyyXR+AvB/dNWmFwW/?= =?iso-8859-1?Q?qYydGWHGVPEbJUqcmJeRwcc/9MdXf7UsEN8/Og/3j4bwRhAt7w/hs53Ykz?= =?iso-8859-1?Q?X8lkRGR0ZfPFTXC1N5i+9f0l7FSDj1BlrCnc/Q8cbiLh7Xm11S8p9tEUOM?= =?iso-8859-1?Q?iXOyegd3bZPqh6Wsmtm6syPJLqu3pOYKeeFKOTVsNpqLlppKCO2CXubuo0?= =?iso-8859-1?Q?uS2ECThlw6uFxjkgfQMM1eDP8wxqvLJvbWABQt0UEfHM1DdPYUFSVABg6C?= =?iso-8859-1?Q?fEs8qR2/XyxDQLa3BJ/vjehLnLpOoW9TFBVunzyiR7VvMVIn8+bK9+mOYh?= =?iso-8859-1?Q?NxPInrXKCw4/4vaApbwvja52CLT4LRCIRDsKglrDxUgTWp8ZxrildryDjg?= =?iso-8859-1?Q?qGzXVo2aXOmm8qJK4PoZNK8INQOoG05I24O8GmOnET2pN63fbONiTYJWKX?= =?iso-8859-1?Q?Y0JGbFlSnL1w6IubLIQeNmelDIqgKH/HvxK7drL6DfeLZZYX+793Pj8g0J?= =?iso-8859-1?Q?R0IbEir9jvNW+Q8g3bD76PocUtL5b7E/98tAnQW0R+mSvRV8bbBbb6suoC?= =?iso-8859-1?Q?JX/RG6ZpxbAEVe4rW8AOj0Jdn0agpojwoCsFGpBTdDZNTEU0NWmQpvzvOO?= =?iso-8859-1?Q?BA0zazkXRaNtZhYQFKkvOS4OFSukQPh4zBht+Q4DE6m9h0Yey9OesOUNCU?= =?iso-8859-1?Q?TyD0RiAHQNfsHa0UM3v+ngMH1YzR2U+a8bxTA0oVyje1vAShVjBBBIq2mu?= =?iso-8859-1?Q?74lJYPxIS5HtVTMkckMCHXfLYAcT2+OrUUdeugOBubpm8KvFI4bQoULz3o?= =?iso-8859-1?Q?Ks9sGDYWrU5ttUAK/Ll23vSKnKLUExI5FlkMEJFmc3GP3bkS14vLmhle5T?= =?iso-8859-1?Q?JM6lhepeb9q025MVgUZDWpLM3MDlICNO6p/aWXOpk/SXZT89j3xU3mgDWl?= =?iso-8859-1?Q?3O7u/R5vtDBow5h5XL?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39850400002)(39840400002)(39450400003)(24454002)(377424004)(54356999)(76176999)(50986999)(50466002)(42186005)(33656002)(93886004)(2870700001)(189998001)(4001350100001)(4326008)(66066001)(47776003)(2906002)(8656002)(110136004)(1076002)(5660300001)(7736002)(478600001)(83506001)(42882006)(33716001)(6916009)(38730400002)(72206003)(2950100002)(8676002)(9686003)(6666003)(81166006)(6246003)(305945005)(53936002)(6496005)(229853002)(25786009)(23756003)(6116002)(3846002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; CY1PR0701MB1726; 23:YiRiIlSFU+RuP2FKFC/uozRjkoYM0k93cvwKY?= =?iso-8859-1?Q?yvP5ewGFntQpMlDY56I8svqs8g5mf26eJUQGDCiUWK6f6fOO8AvCb8fvrE?= =?iso-8859-1?Q?aRJNiOTHE7BYt/pFVXo4lWJGGJQnaDHqZXlVL58XtWrIRUcAGrbL1n5Jv1?= =?iso-8859-1?Q?Txqf+8fySm96M9bVXoY5XJkfGPtScReaCRbAsM6KmxqYecpfCrEJWENXJ3?= =?iso-8859-1?Q?nIlJLwQS8YrhU2K1Y1wNMiGOSFWaXbE7Mm7cjUYZg0l7DZXAaj+lClO2zx?= =?iso-8859-1?Q?G1jkid6P2l/2FdRcNJVLN4b+zwYigAZcAO8YJMLQRVwMYgX+ky/+8ZbESQ?= =?iso-8859-1?Q?GHWGkA3GnMXRouvR5urpTUc+I5Kea019Vzs7h24819LNbFTq+KV1bj5lgS?= =?iso-8859-1?Q?ozeWSrcm2FW5GqF6WRVCCKN7SqM8h5PsuyM7LB44WpMx2nxbU7G+Nz7E7U?= =?iso-8859-1?Q?CDay+0vV6poPVieiz7DHiv5ckQRrluj72FdlIIUVm55UMJ+hYfxCiC65Ls?= =?iso-8859-1?Q?Zr4obyXARYsL40FetBIvlq0ywzFnlqyJ6Kh/PweosyRAyGGreZtpQ6r9Za?= =?iso-8859-1?Q?/AZh6XaZ3zYjKl5Ph7GfDlmDhsqdKW004H/uCuTDZa498PwEbB0JzWuNfb?= =?iso-8859-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+mzUzSvYeuBJnR1qSkhQs1dZg+IOToWBUWXaQJvjttAzYETOJlw75Pz/efvJTv3AlN7hRY22hnKPIKFhe6AtmhRHomVdYqfT05LLF2VIPI8I+9slVxwDkBzrnYN6WTqewZRa+E8QWAiLreuALz5PbKLPmOauYjQupXwDkHhFGExEw532PcLuwPOgu4BppW+CslqShEtBoO7zsdYxCTsxJr+rWXER7Cet8uTYVtUXA2uGorZLAlk5FrXJD6pqJboP9QkwTMmhqWASQHAaiQJ1ZPH50efr5kv/edJUzaBKoUwXEWHsX9YXe6yWc3REHUDb/vEwznSvVZ7nQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 09:01:34.0584 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Subject: Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency 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: Tue, 06 Jun 2017 09:01:39 -0000 -----Original Message----- > Date: Tue, 6 Jun 2017 10:09:21 +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 > Subject: Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency > User-Agent: Mutt/1.5.23 (2014-03-12) > > On Tue, Jun 06, 2017 at 08:35:48AM +0530, Jerin Jacob wrote: > > -----Original Message----- > > > Date: Mon, 5 Jun 2017 14:55:55 +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 > > > Subject: Re: [dpdk-dev] [PATCH] eventdev: remove PCI dependency > > > User-Agent: Mutt/1.5.23 (2014-03-12) > > > > > > Hi Jerin, > > > > Hi Gaëtan, > > > > > > > > On Thu, Jun 01, 2017 at 10:11:46PM +0530, Jerin Jacob wrote: > > > > Remove the PCI dependency from generic data structures > > > > and moved the PCI specific code to rte_event_pmd_pci* > > > > > > > > > > Thanks for working on this. > > > > > > Do you plan on removing rte_pci.h in rte_eventdev_pmd.h? Do you think it > > > would be feasible? > > > > That is for PCI PMD specific probe(rte_event_pmd_pci_probe() and rte_event_pmd_pci_remove()), > > More like, lib/librte_ether/rte_ethdev_pci.h functions in ethdev. > > So, I think, It is OK to keep rte_pci.h for PMD specific functions. > > > > > > Ok, sure. However rte_eventdev.c includes both rte_pci.h and > rte_eventdev_pmd.h. Can it be made independent from the PMD specific > include? Sure. I will remove rte_pci.h from rte_eventdev.c and send the v2.