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

2015-01-05 Thread Thomas Monjalon
2014-12-25 10:33, Ravi Kerur: > +#ifdef RTE_EXEC_ENV_BSDAPP > + const unsigned ncpus = get_ncpus(); > + > + lcore_config[lcore_id].detected = (lcore_id < ncpus); > +#else /* RTE_EXEC_ENV_BSDAPP */ > + lcore_config[lcore_id].detected = cpu_detected(lcore_id); > +#

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

2014-12-25 Thread Ravi Kerur
Move common functions in eal_lcore.c to librte_eal/common directory. Use RTE_EXEC_ENV_BSDAPP to differentiate minor differences in common functions. Makefile changes to reflect new file. Fix checkpatch warnings and errors. Signed-off-by: Ravi Kerur --- lib/librte_eal/bsdapp/eal/Makefile |