eal: set affinity for control threads
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 24 Apr 2018 14:46:50 +0000 (16:46 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 22:51:31 +0000 (00:51 +0200)
commitd651ee4919cd694d58f6388c10d0af9ed9ae51f3
tree09bfb9e9238be64c1f2aa9bec5fb6654d20d26f5
parent6383d2642b62f430c0ddb991dcfa75a5b2a4aec6
eal: set affinity for control threads

The management threads must not bother the dataplane or service cores.
Set the affinity of these threads accordingly.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_thread.c
lib/librte_eal/common/include/rte_lcore.h