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
app/crypto-perf: refactor common test code
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline
/
pipeline_master_be.c
diff --git
a/examples/ip_pipeline/pipeline/pipeline_master_be.c
b/examples/ip_pipeline/pipeline/pipeline_master_be.c
index
79869a4
..
9a7c8c1
100644
(file)
--- a/
examples/ip_pipeline/pipeline/pipeline_master_be.c
+++ b/
examples/ip_pipeline/pipeline/pipeline_master_be.c
@@
-106,6
+106,9
@@
pipeline_run(void *pipeline)
struct pipeline_master *p = (struct pipeline_master *) pipeline;
struct app_params *app = p->app;
int status;
struct pipeline_master *p = (struct pipeline_master *) pipeline;
struct app_params *app = p->app;
int status;
+#ifdef RTE_LIBRTE_KNI
+ uint32_t i;
+#endif /* RTE_LIBRTE_KNI */
/* Application post-init phase */
if (p->post_init_done == 0) {
/* Application post-init phase */
if (p->post_init_done == 0) {
@@
-144,6
+147,12
@@
pipeline_run(void *pipeline)
rte_exit(0, "Bye!\n");
}
rte_exit(0, "Bye!\n");
}
+#ifdef RTE_LIBRTE_KNI
+ /* Handle KNI requests from Linux kernel */
+ for (i = 0; i < app->n_pktq_kni; i++)
+ rte_kni_handle_request(app->kni[i]);
+#endif /* RTE_LIBRTE_KNI */
+
return 0;
}
return 0;
}