eal: apply thread affinity by assigned cpuset
authorCunming Liang <cunming.liang@intel.com>
Tue, 17 Feb 2015 02:08:07 +0000 (10:08 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 19:22:29 +0000 (20:22 +0100)
commit8baacdd30e5553ce6e0c84a0a3e09d8636386503
tree2ff8b87b6626e67cdc813b3e4de06e1af174c9aa
parent9e29251b2afa0d3ee45f9851f889522ceba9d950
eal: apply thread affinity by assigned cpuset

EAL threads use assigned cpuset to set core affinity during startup.
It keeps 1:1 mapping, if no '--lcores' option is used.

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