[dpdk-dev] [PATCH 0/7] Move EAL common functions

Olivier MATZ olivier.matz at 6wind.com
Mon Dec 29 09:47:05 CET 2014


Hi Ravi,

On 12/25/2014 04:33 PM, Ravi Kerur wrote:
> Common functions in linuxapp and bsdapp are moved into
> librte_eal/common directory.
> New files added follow _common_ naming conventions.
> Tested against ubuntu and FreeBSD.

Trying to factorize the common code goes in the good direction.

However I'm wondering if "common" is the proper place. Initially,
the common directory was for code common to linuxapp and baremetal.
Now that baremetal does not exist anymore, a lot of code is common
to the 2 OSes that are supported (linux and FreeBSD).

What about moving this code in "common-posix" instead?
It would let the door open for future ports (Windows? or any
other real time OS? Or back in baremetal?).

Regards,
Olivier


More information about the dev mailing list