From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 37DD0594E for ; Fri, 9 Jan 2015 10:50:47 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y9WGn-0005Sw-4l; Fri, 09 Jan 2015 10:54:17 +0100 Message-ID: <54AFA46D.1080102@6wind.com> Date: Fri, 09 Jan 2015 10:50:37 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Bruce Richardson , Ravi Kerur References: <1419521597-31978-1-git-send-email-rkerur@gmail.com> <54A11509.5050904@6wind.com> <20141229124723.GA27775@localhost.localdomain> <54A15420.2010401@6wind.com> <20150105122416.GG13152@bricha3-MOBL3> In-Reply-To: <20150105122416.GG13152@bricha3-MOBL3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 0/7] Move EAL common functions 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: Fri, 09 Jan 2015 09:50:47 -0000 Hi, Sorry for the late answer. On 01/05/2015 01:24 PM, Bruce Richardson wrote: > Hopefully that means two directories, not three. I think the existing common > folder should stay as it is, with the same name, and possibly add one new folder > for code that is common between BSD and Linux, but which would not be common > to other non-unix environments. I would be in favour of "common-posix" or > "common-unix" for such a folder name, if one is created. In the absense of > any other supported OS (or baremetal), I wonder as to the value of creating > such a separation at this point? The idea of common-posix (or common-unix) was a way to identify which code use the posix API, in the same logic than "common-x86". It would help when porting on other environment. But after thinking more about it, you are right, there is probably no real advantage yet and, as we only support unix environment, we cannot check that the separation would be correct. Regards, Olivier