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 name to threads
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_eal.h
diff --git
a/lib/librte_eal/common/include/rte_eal.h
b/lib/librte_eal/common/include/rte_eal.h
index
f36a792
..
d2816a8
100644
(file)
--- a/
lib/librte_eal/common/include/rte_eal.h
+++ b/
lib/librte_eal/common/include/rte_eal.h
@@
-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).
*/