eal: deduplicate lcore initialization
authorRavi Kerur <rkerur@gmail.com>
Sat, 25 Jul 2015 19:36:27 +0000 (12:36 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 26 Jul 2015 22:56:08 +0000 (00:56 +0200)
commitbd8bf7e172abfa765e0365f4e80ed99772309b3b
tree879a3b153135ff12bdba1f43a39c78776afc0ebb
parent2b9fb6319d8bed13f15b3ecac2c738b94ca5565b
eal: deduplicate lcore initialization

Implement cpu_detected() for BSD.
Move common function in eal_lcore.c to eal_common_lcore.c file.

Signed-off-by: Ravi Kerur <rkerur@gmail.com>
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/eal_lcore.c
lib/librte_eal/common/eal_common_lcore.c [new file with mode: 0644]
lib/librte_eal/common/eal_private.h
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal_lcore.c