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
cryptodev: add asymmetric session user data API
[dpdk.git]
/
examples
/
ip_pipeline
/
swq.c
diff --git
a/examples/ip_pipeline/swq.c
b/examples/ip_pipeline/swq.c
index
c11bbf2
..
7e54a1d
100644
(file)
--- a/
examples/ip_pipeline/swq.c
+++ b/
examples/ip_pipeline/swq.c
@@
-5,6
+5,8
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
+#include <rte_string_fns.h>
+
#include "swq.h"
static struct swq_list swq_list;
#include "swq.h"
static struct swq_list swq_list;
@@
-64,7
+66,7
@@
swq_create(const char *name, struct swq_params *params)
}
/* Node fill in */
}
/* Node fill in */
- str
n
cpy(swq->name, name, sizeof(swq->name));
+ str
l
cpy(swq->name, name, sizeof(swq->name));
swq->r = r;
/* Node add to list */
swq->r = r;
/* Node add to list */