eal: add cpuset into lcore config
authorCunming Liang <cunming.liang@intel.com>
Tue, 17 Feb 2015 02:07:58 +0000 (10:07 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 19:21:54 +0000 (20:21 +0100)
commit798a71d703352b3f78e882e068d46fb7ec09a3b2
tree083d0c3828819ea3411c0bbf93964944cf49bb48
parent0e2e511b380cbf71cb744e5910f1f4969e8cd4e9
eal: add cpuset into lcore config

The patch adds 'cpuset' into per-lcore configure 'lcore_config[]',
as the lcore no longer always 1:1 pinning with physical cpu.
The lcore now stands for a EAL thread rather than a logical cpu.

It doesn't change the default behavior of 1:1 mapping, but allows to
affinity the EAL thread to multiple cpus.

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>
lib/librte_eal/bsdapp/eal/eal_lcore.c
lib/librte_eal/common/include/rte_lcore.h
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal_lcore.c