numam-dpdk/lib/librte_eal
Cunming Liang 3e10f2368a eal: initialize lcore and socket id
Set _lcore_id and _socket_id to (-1) by default.
For those non EAL thread, _lcore_id shall always be LCORE_ID_ANY.
The libraries using _lcore_id as index need to take care.
_socket_id always be SOCKET_ID_ANY until the thread changes the affinity
by rte_thread_set_affinity().

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-02-24 20:22:39 +01:00
..
bsdapp eal: initialize lcore and socket id 2015-02-24 20:22:39 +01:00
common eal: initialize lcore and socket id 2015-02-24 20:22:39 +01:00
linuxapp eal: initialize lcore and socket id 2015-02-24 20:22:39 +01:00
Makefile eal: no more bare metal environment 2014-11-27 13:09:51 +01:00