From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0040.outbound.protection.outlook.com [104.47.42.40]) by dpdk.org (Postfix) with ESMTP id 32E9F5A0A for ; Mon, 3 Oct 2016 07:36:56 +0200 (CEST) Received: from BN6PR03CA0067.namprd03.prod.outlook.com (10.173.137.29) by BY2PR0301MB2006.namprd03.prod.outlook.com (10.163.196.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Mon, 3 Oct 2016 05:36:55 +0000 Received: from BN1BFFO11FD017.protection.gbl (2a01:111:f400:7c10::1:176) by BN6PR03CA0067.outlook.office365.com (2603:10b6:404:4c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Mon, 3 Oct 2016 05:36:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD017.mail.protection.outlook.com (10.58.144.80) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Mon, 3 Oct 2016 05:36:48 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u935ajUd019622; Sun, 2 Oct 2016 22:36:46 -0700 To: David Marchand References: <1472704915-13112-1-git-send-email-shreyansh.jain@nxp.com> <1474985551-14219-1-git-send-email-shreyansh.jain@nxp.com> CC: "dev@dpdk.org" , Jan Viktorin , Thomas Monjalon From: Shreyansh Jain Message-ID: <4e8b181f-8d46-f4b4-3821-a19f5c622ec1@nxp.com> Date: Mon, 3 Oct 2016 11:07:43 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131199466090994407; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(24454002)(377454003)(189998001)(23676002)(47776003)(110136003)(2906002)(19580405001)(19580395003)(65806001)(31696002)(4326007)(230700001)(65956001)(64126003)(586003)(5660300001)(4001350100001)(54356999)(76176999)(97736004)(50466002)(626004)(65826007)(50986999)(86362001)(8936002)(87936001)(105606002)(85426001)(106466001)(356003)(104016004)(33646002)(92566002)(8676002)(81166006)(81156014)(83506001)(69596002)(6916009)(31686004)(2950100002)(77096005)(7846002)(36756003)(6666003)(68736007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB2006; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD017; 1:DJq+6ZYyZSsGUhE7998p20Tj9AOFLi7WZbjnW5BuT4XcfXnbXg53jnbp9IPFvsVg8HG8DhXSOiSS8SNr/ahDZ7HvqwpJkP7WV9/vjBoX5+GjjHV66NTQR91/fTTA2B2VrRkGKWGZDiYHMYDwE877VOMwhjsTHxnnGDWS8FdGA5gHja3hBKsC883fR9NAoeC0TooESWDArMfSYisIPXZmHJjgIAyxJES37tGPkBZNoN8rvRN84pL0oVl48bxKaF6hYiIMsTJV5Rkun+mi+7wEc+Iq+VuWkcJQEGYVcDiX0LmLSfyIwPZu3UokxHK9JMyOBLGMeWwfQUbt+z17E9oCWHLItpXKbn1e8FGCywA2iv7nUa0bebXmUGJUZruAQmujCg9+zFSkw0lfppXjirfHuzAuMCm/Ym5J9FiSeiAz4NN6I/74v/YKPplf93LQQ7oN4BNa1Oudjhi8+gio40U8GIRTEnargLzXe0pHHpRW/72mdf1+tk+UkW++FLm634o+0xAayLB6V5gmjtehj4koaGKTTQGEFdo+zqAj3ssL3rrKyeWsPEh93as3pq4NidjSiho2E0KTxJKOnXKcxkh24A== X-MS-Office365-Filtering-Correlation-Id: 9451f58a-d5bc-49bb-b988-08d3eb4f4587 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2006; 2:kuv2mYOy4En44leQXOuZeahue5lYsHEYrbSMIvepMsoTu57YobaLoM0jz9Urmk5JoT3hTU7bPR8ffFOBk9Eooyw2OIkoAq7wO6OZVaRGV0gVRN2hCAoZuzVhSSTVW2GeMQvFz6TxaW0ZWmhLL6Ctpzhq9Ih98d0I5T3YCj9WdUd/jEXjydNg6OICROH+6gfh42h8VcddvUIEQIfv7AwBEQ==; 3:cf+T3Ydd4NJN14J3DkFPQPJhkNMi5vLh+fIGJ56XR7cJTVaGgko3tL+bJzLFg9y7D0P4CEzaUk41sMk6E3+mFMpy1j+fyU24o+MzosAWqJghgySiPWuJQzTbgIrzh5GSvEcysaWnVGr5aIwzC/QPhyW1S1QXqTWTyrCK3IqbhMbd8cwiktiEiE2wtOakD6rIMQzo/r1uHF2SoC5l8iArCdrIhcvYHlGXiC1BoO4nzq3LtiLfwE9Tx9P2skiGzxvt; 25:GoLft2KP/9LtywaXObUxvTiTT0f+fa5H0Yc5LGphfyaF2dRro71ZyhBY5v5Jm4MIc6optO6qU0h0oBSoRHy/SfBmbZhtOKCVU31bSXNikzQGzuLdq0A3gFvEiADfPy54YuzazXbtZfaf0mjvCNwnH1ySL4kauIERJFSF7hHq+4B2hOD0MaYlx5K0gY76l7vsgJpW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br0htxw+OYzw0aMdhRFDcFWtal4uR/TnW5h46kqbS8/mNCdPheo2TvZhUvnqvqZsvRFpniFq/RwVKsKMKrL+6e7gOG12RrBO2fDdMif6CrUlZ4tgTJgbgh676y7HUIOeiXa7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13023025)(13018025)(13017025)(13015025)(13024025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BY2PR0301MB2006; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB2006; X-Forefront-PRVS: 008421A8FF X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAzMDFNQjIwMDY7MjM6dmI3ZXhJc2N2RDd5NUMzZ3BEYWhESDJ3?= =?utf-8?B?cXBobUxHNTdDbkRvUVdHMHovYjhEM3hJc05xK1NCZ1VnRk5UdFpJSWRlNHY3?= =?utf-8?B?dEVqSUpYOTk0V2tDdlBwZTNCdVBWKzBGSUpYMWgwRkoxQkNVdW5KSUtSRThM?= =?utf-8?B?U0tUMk1NK1Q3dFpId01uTlllNVlCbytzMW9hM2tSTVFCVGRYQjdGSm9NcWVq?= =?utf-8?B?QjFIeSs1WXlwaGpSRmpSSmNjVTB2WVg3RjNFVFdVeEUxQTB0QXF5MGFKNURp?= =?utf-8?B?MWt0WWp4OW4vUGtWMVdkYmpYQmpzektsRGNNeU1lZUpRZUI4Q0wvbDJkRGlk?= =?utf-8?B?cTRiYnhhdFZFYXhiYjFrZUVBQlRBaWU2YXV2dEt5RDFTMllma0xoQWd6c25S?= =?utf-8?B?M21yNXlQVTdrcUE5MGpiUERtN2cwbTVOWkdWUGk5aE1WdnVOWDJPaDhLMWFv?= =?utf-8?B?RXpJUW5NSkhXcTU5bUdNdzcxNk9XZHorWWg5OE0zS3AvRUtObStMVTFSMVNY?= =?utf-8?B?S0MzVlZHL1VucFpXcGt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k1Uhgcm4TNJsB1XH+Evd+eAXagWhrO2Y/D2c70ViAgs9qKsnHKZv48VF6FRBsf9ExJb+xjhHB4lXhNapIFPrhpQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2006; 7:/p7PzTA6q5Uqh9VUrBOqP7hTAmZcyJQz8EhSc1CWYVIWlpcb1OdmKIvB9PaH9RJ5Hu5Ttijxs9iech5pHXM8UTe6xrVcW/TJaKu83+fhFo55YBGVaRs0CF/7Sxbc1pQZYSZAyjvQKuuIEaiGdsdidBot5vRGxhjeRKDzjJj+cVlEqoG3H+VMUl2X4IqBo4+ODjAwkAOMtfgCbXUD8ulqwIsxhEFt1+P4yWThZyfuf+WvvyZKg73JIKcce2K8Y28glUGaPa3I6wozzwmAImNavtvBwU9xu/4rR/jZDd3CEDH2qby1EQxqjN+5IlTpVi1hrftIoU/OJ7sTXRqxf//qdQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2016 05:36:48.7874 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB2006 Subject: Re: [dpdk-dev] [PATCH v1 0/4] Generalize PCI specific EAL function/structures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2016 05:36:56 -0000 Hi David, On Friday 30 September 2016 09:01 PM, David Marchand wrote: > On Tue, Sep 27, 2016 at 4:12 PM, Shreyansh Jain wrote: >> (I rebased these over HEAD 7b3c4f3) >> >> These patches were initially part of Jan's original series on SoC >> Framework ([1],[2]). An update to that series, without these patches, >> was posted here [3]. >> >> Main motivation for these is aim of introducing a non-PCI centric >> subsystem in EAL. As of now the first usecase is SoC, but not limited to >> it. >> >> 4 patches in this series are independent of each other, as well as SoC >> framework. All these focus on generalizing some structure or functions >> present with the PCI specific code to EAL Common area (or splitting a >> function to be more userful). > > Those patches move linux specifics (binding pci devices using sysfs) > to common infrastucture. > We have no proper hotplug support on bsd, but if we had some common > code we should at least try to make the apis generic. > I am not sure if I understood your point well. Just to confirm - you are stating that the movement done in the patches might not suit BSD. Probably you are talking about (Patch 3/4 and 4/4). Is my understanding correct? So, movement to just Linux area is not enough? I am not well versed with BSD way of doing something similar so if someone can point it out, I can integrate that. (I will investigate it at my end as well). This patchset makes the PCI->EAL movement *only* for Linux for sysfs bind/unbind. (I should add this to cover letter, at the least). - Shreyansh