> > Following "options parsing" patchset (commit d7cb626f and 489a9d6c), core > > detection is not working correctly on bsd. > > > > ./x86_64-native-bsdapp-gcc/app/test -c f -n 4 -- -i > > [...] > > EAL: lcore 0 unavailable > > EAL: invalid coremask > > > > Align bsd to linux: > > - commit f563a372 "eal: fix recording of detected/enabled logical cores" > > - commit 4f04db8b "eal: check coremask against detected lcores" > > > > Reported-by: Zhan, Zhaochen <zhaochen.zhan at intel.com> > > Signed-off-by: David Marchand <david.marchand at 6wind.com> > > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Tested-by: Zhaochen Zhan <zhaochen.zhan at intel.com> This patch has been verified on FreeBSD 10.0. DPDK base commit: 3043ce5011aa7075b32c80c79b9db96199938602 CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz GCC: gcc48 (FreeBSD Ports Collection) 4.8.3