diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-11-06 07:05:52 -0600 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-11-06 10:55:26 -0600 |
commit | 0f6d30a95c84ec239f5a30bbfba17ed42e2cf284 (patch) | |
tree | 768a8dc74cb17cdfa009ba12c241c5fd4f68751c /meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch | |
parent | 567358dae4a005e09b37311beed78ca923cb4aad (diff) | |
download | meta-intel-388199f33e2151360cb902ae3436c30aa9455da3.tar.gz |
common: Remove DPDK recipes2.0-rc4-dizzy-1.72.0-dizzy-1.7
Move the DPDK recipes out of common/ and into meta-romley/.
The DPDK recipes have so far been shown to be broken for any other
machine than Romley or for any other kernel version than the kernel
Romley is still using, 3.10.
So the logical place for them to live would be in meta-romley, if
anywhere.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Acked-by: Burton, Ross <ross.burton@intel.com>
Diffstat (limited to 'meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch')
-rw-r--r-- | meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch b/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch new file mode 100644 index 00000000..87d2ef77 --- /dev/null +++ b/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.6.0r2-app-test-fix-build-switches-to-enable-cmdline-tests.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From cf953d2bfa7df9aa67459b333db4d4d8a9e72fd6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Monjalon <thomas.monjalon@6wind.com> | ||
3 | Date: Fri, 27 Jun 2014 11:21:11 +0200 | ||
4 | Subject: [PATCH] app/test: fix build switches to enable cmdline tests | ||
5 | |||
6 | Upstream-Status: backport | ||
7 | Imported patch from: http://dpdk.org/browse/dpdk/log/ | ||
8 | |||
9 | There were 2 typos since these commits (in 1.6.0 releases): | ||
10 | 21a7f4e264 fix build without librte_cmdline | ||
11 | cac6d08c8b replace --use-device option by --pci-whitelist and --vdev | ||
12 | In makefiles, the build options are prefixed with CONFIG_RTE_ | ||
13 | but in .c file, it is only RTE_. | ||
14 | |||
15 | These typos were disabling cmdline unit tests and test of "--vdev eth_ring" option. | ||
16 | |||
17 | Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> | ||
18 | Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> | ||
19 | Signed-off-by: Chan Wei Sern <wei.sern.chan@intel.com> | ||
20 | --- | ||
21 | app/test/test_cmdline.c | 2 +- | ||
22 | app/test/test_eal_flags.c | 2 +- | ||
23 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
24 | |||
25 | diff --git a/app/test/test_cmdline.c b/app/test/test_cmdline.c | ||
26 | index 77475c4..10a3f77 100644 | ||
27 | --- a/app/test/test_cmdline.c | ||
28 | +++ b/app/test/test_cmdline.c | ||
29 | @@ -39,7 +39,7 @@ | ||
30 | int | ||
31 | test_cmdline(void) | ||
32 | { | ||
33 | -#ifdef CONFIG_RTE_LIBRTE_CMDLINE | ||
34 | +#ifdef RTE_LIBRTE_CMDLINE | ||
35 | printf("Testind parsing ethernet addresses...\n"); | ||
36 | if (test_parse_etheraddr_valid() < 0) | ||
37 | return -1; | ||
38 | diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c | ||
39 | index a862654..1b80b80 100644 | ||
40 | --- a/app/test/test_eal_flags.c | ||
41 | +++ b/app/test/test_eal_flags.c | ||
42 | @@ -317,7 +317,7 @@ test_whitelist_flag(void) | ||
43 | const char *wlval3[] = {prgname, prefix, mp_flag, "-n", "1", "-c", "1", | ||
44 | pci_whitelist, "09:0B.3,type=test", | ||
45 | pci_whitelist, "08:00.1,type=normal", | ||
46 | -#ifdef CONFIG_RTE_LIBRTE_PMD_RING | ||
47 | +#ifdef RTE_LIBRTE_PMD_RING | ||
48 | vdev, "eth_ring,arg=test", | ||
49 | #endif | ||
50 | }; | ||
51 | -- | ||
52 | 1.9.1 | ||
53 | |||