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
raw/ifpga: add APIs to get FPGA information
[dpdk.git]
/
examples
/
ip_pipeline
/
mempool.c
diff --git
a/examples/ip_pipeline/mempool.c
b/examples/ip_pipeline/mempool.c
index
33b9243
..
f5d2a7d
100644
(file)
--- a/
examples/ip_pipeline/mempool.c
+++ b/
examples/ip_pipeline/mempool.c
@@
-6,6
+6,7
@@
#include <string.h>
#include <rte_mbuf.h>
#include <string.h>
#include <rte_mbuf.h>
+#include <rte_string_fns.h>
#include "mempool.h"
#include "mempool.h"
@@
-70,7
+71,7
@@
mempool_create(const char *name, struct mempool_params *params)
}
/* Node fill in */
}
/* Node fill in */
- str
n
cpy(mempool->name, name, sizeof(mempool->name));
+ str
l
cpy(mempool->name, name, sizeof(mempool->name));
mempool->m = m;
mempool->buffer_size = params->buffer_size;
mempool->m = m;
mempool->buffer_size = params->buffer_size;