git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: set affinity for control threads
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_lcore.h
diff --git
a/lib/librte_eal/common/include/rte_lcore.h
b/lib/librte_eal/common/include/rte_lcore.h
index
eb39c2a
..
334a062
100644
(file)
--- a/
lib/librte_eal/common/include/rte_lcore.h
+++ b/
lib/librte_eal/common/include/rte_lcore.h
@@
-279,7
+279,9
@@
int rte_thread_setname(pthread_t id, const char *name);
/**
* Create a control thread.
*
/**
* Create a control thread.
*
- * Wrapper to pthread_create() and pthread_setname_np().
+ * Wrapper to pthread_create(), pthread_setname_np() and
+ * pthread_setaffinity_np(). The dataplane and service lcores are
+ * excluded from the affinity of the new thread.
*
* @param thread
* Filled with the thread id of the new created thread.
*
* @param thread
* Filled with the thread id of the new created thread.