]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_eal.h
eal: set name to threads
[dpdk.git] / lib / librte_eal / common / include / rte_eal.h
index f36a792f6ac626fdbcba1a624a77ffa5d4abaf20..d2816a84ab84103727096f18c8dd028a812106d9 100644 (file)
@@ -51,6 +51,9 @@ extern "C" {
 
 #define RTE_MAGIC 19820526 /**< Magic number written by the main partition when ready. */
 
+/* Maximum thread_name length. */
+#define RTE_MAX_THREAD_NAME_LEN 16
+
 /**
  * The lcore role (used in RTE or not).
  */