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
doc: update qede guide
[dpdk.git]
/
examples
/
performance-thread
/
common
/
lthread.c
diff --git
a/examples/performance-thread/common/lthread.c
b/examples/performance-thread/common/lthread.c
index
e8addb7
..
062275a
100644
(file)
--- a/
examples/performance-thread/common/lthread.c
+++ b/
examples/performance-thread/common/lthread.c
@@
-74,7
+74,6
@@
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <sys/mman.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <ctx.h>
#include <rte_log.h>
#include <ctx.h>
@@
-144,7
+143,7
@@
struct lthread_stack *_stack_alloc(void)
struct lthread_stack *s;
s = _lthread_objcache_alloc((THIS_SCHED)->stack_cache);
struct lthread_stack *s;
s = _lthread_objcache_alloc((THIS_SCHED)->stack_cache);
-
LTHREAD
_ASSERT(s != NULL);
+
RTE
_ASSERT(s != NULL);
s->root_sched = THIS_SCHED;
s->stack_size = LTHREAD_MAX_STACK_SIZE;
s->root_sched = THIS_SCHED;
s->stack_size = LTHREAD_MAX_STACK_SIZE;