dpdk-dev: fix ip_pipeline to load PMD driver correctly
[deb_dpdk.git] / debian / patches / dpdk-dev-examples-ip_pipeline-fix-pmd-driver-parameter.patch
1 From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
2 Date: Wed, 21 Sep 2016 13:56:31 +0530
3 Subject: [PATCH] examples: fix ip_pipeline to load PMD driver correctly
4
5 There is typo in init.c of ip_pipeline example due to which,
6 invalid file path is added to -d option of EAL i.e path starting
7 with =.
8
9 Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
10 Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
11
12 Origin: Upstream, http://dpdk.org/dev/patchwork/patch/15995/
13 Author: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
14 Last-update: 2016-09-29
15
16 ---
17  examples/ip_pipeline/init.c | 2 +-
18  1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c
21 index cd167f6..27b0aa7 100644
22 --- a/examples/ip_pipeline/init.c
23 +++ b/examples/ip_pipeline/init.c
24 @@ -236,7 +236,7 @@ app_init_eal(struct app_params *app)
25         }
26  
27         if (p->add_driver) {
28 -               snprintf(buffer, sizeof(buffer), "-d=%s", p->add_driver);
29 +               snprintf(buffer, sizeof(buffer), "-d %s", p->add_driver);
30                 app->eal_argv[n_args++] = strdup(buffer);
31         }
32  
33 -- 
34 1.9.1
35