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_queue.h
diff --git
a/examples/performance-thread/common/lthread_queue.h
b/examples/performance-thread/common/lthread_queue.h
index
71f8c73
..
2c55fce
100644
(file)
--- a/
examples/performance-thread/common/lthread_queue.h
+++ b/
examples/performance-thread/common/lthread_queue.h
@@
-129,7
+129,7
@@
_lthread_queue_create(const char *name)
/* allocated stub node */
stub = _qnode_alloc();
/* allocated stub node */
stub = _qnode_alloc();
-
LTHREAD
_ASSERT(stub);
+
RTE
_ASSERT(stub);
if (name != NULL)
strncpy(new_queue->name, name, sizeof(new_queue->name));
if (name != NULL)
strncpy(new_queue->name, name, sizeof(new_queue->name));
@@
-153,7
+153,7
@@
_lthread_queue_create(const char *name)
static inline int __attribute__ ((always_inline))
_lthread_queue_empty(struct lthread_queue *q)
{
static inline int __attribute__ ((always_inline))
_lthread_queue_empty(struct lthread_queue *q)
{
- return
(q->tail == q->head)
;
+ return
q->tail == q->head
;
}
}