[dpdk-dev] [PATCH v4 4/4] doc: kni port support in the packet framework

2016-06-21 Thread Ethan Zhuang
From: WeiJie Zhuang add some descriptions for the kni port in the packet framework Signed-off-by: WeiJie Zhuang --- doc/api/doxy-api-index.md| 1 + doc/guides/sample_app_ug/ip_pipeline.rst | 112 +++ 2 files changed, 84 insertions(+), 29 deletions(

[dpdk-dev] [PATCH v4 3/4] examples/ip_pipeline: kni example configuration

2016-06-21 Thread Ethan Zhuang
From: WeiJie Zhuang config file with two KNI interfaces connected using a Linux kernel bridge Signed-off-by: WeiJie Zhuang --- examples/ip_pipeline/config/kni.cfg | 67 + 1 file changed, 67 insertions(+) create mode 100644 examples/ip_pipeline/config/kni.cf

[dpdk-dev] [PATCH v4 2/4] examples/ip_pipeline: kni interface support

2016-06-21 Thread Ethan Zhuang
From: WeiJie Zhuang 1. add KNI support to the IP Pipeline sample Application 2. some bug fix Signed-off-by: WeiJie Zhuang --- examples/ip_pipeline/app.h | 183 ++- examples/ip_pipeline/config_check.c| 26 ++- examples/ip_pipeline/config_

[dpdk-dev] [PATCH v4 1/4] port: kni interface support

2016-06-21 Thread Ethan Zhuang
$(RTE_SDK)/mk/rte.lib.mk diff --git a/lib/librte_port/rte_port_kni.c b/lib/librte_port/rte_port_kni.c new file mode 100644 index 000..08f4ac2 --- /dev/null +++ b/lib/librte_port/rte_port_kni.c @@ -0,0 +1,545 @@ +/*- + * BSD LICENSE + * + * Copyright(c) 2016 Ethan Zhuang . + * Copyright(c) 2016