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
examples/l3fwd: support config file for LPM/FIB
[dpdk.git]
/
examples
/
ip_pipeline
/
kni.c
diff --git
a/examples/ip_pipeline/kni.c
b/examples/ip_pipeline/kni.c
index
4519685
..
a2d3331
100644
(file)
--- a/
examples/ip_pipeline/kni.c
+++ b/
examples/ip_pipeline/kni.c
@@
-24,7
+24,7
@@
kni_init(void)
{
TAILQ_INIT(&kni_list);
{
TAILQ_INIT(&kni_list);
-#ifdef RTE_LIB
RTE
_KNI
+#ifdef RTE_LIB_KNI
rte_kni_init(KNI_MAX);
#endif
rte_kni_init(KNI_MAX);
#endif
@@
-46,7
+46,7
@@
kni_find(const char *name)
return NULL;
}
return NULL;
}
-#ifndef RTE_LIB
RTE
_KNI
+#ifndef RTE_LIB_KNI
struct kni *
kni_create(const char *name __rte_unused,
struct kni *
kni_create(const char *name __rte_unused,