ip_frag: add IPv4 options fragment
[dpdk.git] / lib / eal / include / rte_lcore.h
index 1550b75..258bc49 100644 (file)
@@ -86,18 +86,6 @@ rte_lcore_id(void)
  */
 unsigned int rte_get_main_lcore(void);
 
-/**
- * Deprecated function the id of the main lcore
- *
- * @return
- *   the id of the main lcore
- */
-__rte_deprecated
-static inline unsigned int rte_get_master_lcore(void)
-{
-       return rte_get_main_lcore();
-}
-
 /**
  * Return the number of execution units (lcores) on the system.
  *
@@ -246,9 +234,6 @@ unsigned int rte_get_next_lcore(unsigned int i, int skip_main, int wrap);
             i < RTE_MAX_LCORE;                                         \
             i = rte_get_next_lcore(i, 1, 0))
 
-#define RTE_LCORE_FOREACH_SLAVE(l)                                     \
-       RTE_DEPRECATED(RTE_LCORE_FOREACH_SLAVE) RTE_LCORE_FOREACH_WORKER(l)
-
 /**
  * Callback prototype for initializing lcores.
  *
@@ -300,7 +285,6 @@ typedef void (*rte_lcore_uninit_cb)(unsigned int lcore_id, void *arg);
  *   On failure (either memory allocation issue in the function itself or an
  *   error is returned by the init callback itself), returns NULL.
  */
-__rte_experimental
 void *
 rte_lcore_callback_register(const char *name, rte_lcore_init_cb init,
        rte_lcore_uninit_cb uninit, void *arg);
@@ -315,7 +299,6 @@ rte_lcore_callback_register(const char *name, rte_lcore_init_cb init,
  *   The handle pointer returned by a former successful call to
  *   rte_lcore_callback_register.
  */
-__rte_experimental
 void
 rte_lcore_callback_unregister(void *handle);
 
@@ -348,7 +331,6 @@ typedef int (*rte_lcore_iterate_cb)(unsigned int lcore_id, void *arg);
  *   Same return code as the callback last invocation (see rte_lcore_iterate_cb
  *   description).
  */
-__rte_experimental
 int
 rte_lcore_iterate(rte_lcore_iterate_cb cb, void *arg);
 
@@ -358,7 +340,6 @@ rte_lcore_iterate(rte_lcore_iterate_cb cb, void *arg);
  * @param f
  *   The output stream where the dump should be sent.
  */
-__rte_experimental
 void
 rte_lcore_dump(FILE *f);
 
@@ -406,24 +387,23 @@ int rte_thread_getname(pthread_t id, char *name, size_t len);
  * @return
  *   On success, return 0; otherwise return -1 with rte_errno set.
  */
-__rte_experimental
 int
 rte_thread_register(void);
 
 /**
  * Unregister current thread and release lcore if one was associated.
  */
-__rte_experimental
 void
 rte_thread_unregister(void);
 
 /**
  * Create a control thread.
  *
- * Wrapper to pthread_create(), pthread_setname_np() and
- * pthread_setaffinity_np(). The affinity of the new thread is based
- * on the CPU affinity retrieved at the time rte_eal_init() was called,
- * the dataplane and service lcores are then excluded.
+ * Creates a control thread with the given name and attributes. The
+ * affinity of the new thread is based on the CPU affinity retrieved
+ * at the time rte_eal_init() was called, the dataplane and service
+ * lcores are then excluded. If setting the name of the thread fails,
+ * the error is ignored and a debug message is logged.
  *
  * @param thread
  *   Filled with the thread id of the new created thread.