dpdk-dev: fix ip_pipeline to load PMD driver correctly 96/3196/1
authorGowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Thu, 29 Sep 2016 11:15:59 +0000 (16:45 +0530)
committerGowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Thu, 29 Sep 2016 11:15:59 +0000 (16:45 +0530)
There is typo in init.c of ip_pipeline example due to which,
invalid file path is added to -d option of EAL i.e path starting
with =.

Change-Id: I8de64a916cb36d707942bdd984936a547b1d17ec
Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
debian/patches/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch b/debian/patches/dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch
new file mode 100644 (file)
index 0000000..459e091
--- /dev/null
@@ -0,0 +1,35 @@
+From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
+Date: Wed, 21 Sep 2016 13:56:31 +0530
+Subject: [PATCH] examples: fix ip_pipeline to load PMD driver correctly
+
+There is typo in init.c of ip_pipeline example due to which,
+invalid file path is added to -d option of EAL i.e path starting
+with =.
+
+Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
+Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
+
+Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15995/
+Author: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
+Last-update: 2016-09-29
+
+---
+ examples/ip_pipeline/init.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c
+index cd167f6..27b0aa7 100644
+--- a/examples/ip_pipeline/init.c
++++ b/examples/ip_pipeline/init.c
+@@ -236,7 +236,7 @@ app_init_eal(struct app_params *app)
+       }
+       if (p->add_driver) {
+-              snprintf(buffer, sizeof(buffer), "-d=%s", p->add_driver);
++              snprintf(buffer, sizeof(buffer), "-d %s", p->add_driver);
+               app->eal_argv[n_args++] = strdup(buffer);
+       }
+-- 
+1.9.1
+
index 5c0a299..04fabca 100644 (file)
@@ -18,4 +18,5 @@ dpdk-dev-ppc-enable-4-7-sched-enable-on-ppc64le.patch
 dpdk-dev-ppc-enable-5-7-table-fix-verification-on-hash-bucket-header-alignme.patch
 dpdk-dev-ppc-enable-6-7-config-enable-packet-framework-on-ppc64le.patch
 dpdk-dev-ppc-enable-7-7-examples-ip_pipeline-fix-lcore-mapping-for-ppc64.patch
+dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch