diff options
author | Sreeju Selvaraj <sreeju.armughanx.selvaraj@intel.com> | 2014-09-29 18:39:33 +0800 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-10-01 22:55:45 -0500 |
commit | a14718dfaee57827a0666b858cf192dc1cb00db5 (patch) | |
tree | 606bf658f63a18e23dcb27f55adaa94162b93f38 /common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch | |
parent | 1c825a06095178c0c51f28d5867549feac8a47f4 (diff) | |
download | meta-intel-a14718dfaee57827a0666b858cf192dc1cb00db5.tar.gz |
meta-intel/common: Upgrade DPDK to v1.7.0
Added support for DPDK v1.7.0.
Added PACKAGECONFIG mechanism to explicitly disable the use of fuse
and qat which are dependencies for example apps dpdk_qat and vhost.
Added config variables CONFIG_EXAMPLE_DPDK_QAT and
CONFIG_EXAMPLE_DPDK_VHOST to enable or disable the compilation of
example apps dpdk_qat and vhost.
Resolved the installation failure found in example app ip_pipeline by
cherry-picking the patch from dpdk.org.
Resolved the test failure found in example app ring_pmd_autotest by
cherry-picking the patches from dpdk.org.
Signed-off-by: Sreeju Selvaraj <sreeju.armughanx.selvaraj@intel.com>
Acked-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch')
-rw-r--r-- | common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch new file mode 100644 index 00000000..25a4ea80 --- /dev/null +++ b/common/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 70d3d9a6757e0c56ad3c6da0292479433e16aed3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Pablo de Lara <pablo.de.lara.guarch@intel.com> | ||
3 | Date: Wed, 9 Jul 2014 15:35:35 +0100 | ||
4 | Subject: [PATCH] ring: remove extra devices creation with --vdev option | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Imported patch from: http://dpdk.org/browse/dpdk/log/ | ||
8 | |||
9 | When passing extra arguments in EAL option --vdev, to create | ||
10 | ring ethdevs, API was creating three ethdevs, even if there | ||
11 | was just one argument, such as CREATE. | ||
12 | |||
13 | Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> | ||
14 | Acked-by: Neil Horman <nhorman@tuxdriver.com> | ||
15 | (cherry picked from commit 546afbc6827f9f0f7ed501d2af1fc51755e40224) | ||
16 | Signed-off-by: Sreeju Selvaraj <sreeju.armughanx.selvaraj@intel.com> | ||
17 | --- | ||
18 | lib/librte_pmd_ring/rte_eth_ring.c | 3 +-- | ||
19 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/lib/librte_pmd_ring/rte_eth_ring.c b/lib/librte_pmd_ring/rte_eth_ring.c | ||
22 | index 73c649e..4f1b6ed 100644 | ||
23 | --- a/lib/librte_pmd_ring/rte_eth_ring.c | ||
24 | +++ b/lib/librte_pmd_ring/rte_eth_ring.c | ||
25 | @@ -493,7 +493,6 @@ rte_pmd_ring_devinit(const char *name, const char *params) | ||
26 | eth_dev_ring_create(name, rte_socket_id(), DEV_CREATE); | ||
27 | return 0; | ||
28 | } else { | ||
29 | - eth_dev_ring_create(name, rte_socket_id(), DEV_CREATE); | ||
30 | ret = rte_kvargs_count(kvlist, ETH_RING_NUMA_NODE_ACTION_ARG); | ||
31 | info = rte_zmalloc("struct node_action_list", sizeof(struct node_action_list) + | ||
32 | (sizeof(struct node_action_pair) * ret), 0); | ||
33 | @@ -510,7 +509,7 @@ rte_pmd_ring_devinit(const char *name, const char *params) | ||
34 | goto out_free; | ||
35 | |||
36 | for (info->count = 0; info->count < info->total; info->count++) { | ||
37 | - eth_dev_ring_pair_create(name, info->list[info->count].node, | ||
38 | + eth_dev_ring_create(name, info->list[info->count].node, | ||
39 | info->list[info->count].action); | ||
40 | } | ||
41 | } | ||
42 | -- | ||
43 | 1.9.1 | ||
44 | |||