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
net/i40e/base: adjust 25G PHY type values
[dpdk.git]
/
examples
/
performance-thread
/
common
/
lthread_tls.c
diff --git
a/examples/performance-thread/common/lthread_tls.c
b/examples/performance-thread/common/lthread_tls.c
index
43cda4f
..
6876f83
100644
(file)
--- a/
examples/performance-thread/common/lthread_tls.c
+++ b/
examples/performance-thread/common/lthread_tls.c
@@
-94,7
+94,7
@@
void _lthread_key_pool_init(void)
pool = rte_ring_create(name,
LTHREAD_MAX_KEYS, 0, 0);
pool = rte_ring_create(name,
LTHREAD_MAX_KEYS, 0, 0);
-
LTHREAD
_ASSERT(pool);
+
RTE
_ASSERT(pool);
int i;
int i;
@@
-240,7
+240,7
@@
void _lthread_tls_alloc(struct lthread *lt)
tls = _lthread_objcache_alloc((THIS_SCHED)->tls_cache);
tls = _lthread_objcache_alloc((THIS_SCHED)->tls_cache);
-
LTHREAD
_ASSERT(tls != NULL);
+
RTE
_ASSERT(tls != NULL);
tls->root_sched = (THIS_SCHED);
lt->tls = tls;
tls->root_sched = (THIS_SCHED);
lt->tls = tls;