eal: set affinity for control threads
[dpdk.git] / lib / librte_eal / common / include / rte_lcore.h
index f7f6786..0d85a91 100644 (file)
@@ -265,7 +265,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.