From 0f6d30a95c84ec239f5a30bbfba17ed42e2cf284 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Thu, 6 Nov 2014 07:05:52 -0600 Subject: common: Remove DPDK recipes 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 Acked-by: Burton, Ross --- ...e-extra-devices-creation-with-vdev-option.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch (limited to 'meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch') diff --git a/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch b/meta-romley/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/meta-romley/recipes-extended/dpdk/dpdk/dpdk-1.7.0-ring-remove-extra-devices-creation-with-vdev-option.patch @@ -0,0 +1,44 @@ +From 70d3d9a6757e0c56ad3c6da0292479433e16aed3 Mon Sep 17 00:00:00 2001 +From: Pablo de Lara +Date: Wed, 9 Jul 2014 15:35:35 +0100 +Subject: [PATCH] ring: remove extra devices creation with --vdev option + +Upstream-Status: Backport +Imported patch from: http://dpdk.org/browse/dpdk/log/ + +When passing extra arguments in EAL option --vdev, to create +ring ethdevs, API was creating three ethdevs, even if there +was just one argument, such as CREATE. + +Signed-off-by: Pablo de Lara +Acked-by: Neil Horman +(cherry picked from commit 546afbc6827f9f0f7ed501d2af1fc51755e40224) +Signed-off-by: Sreeju Selvaraj +--- + lib/librte_pmd_ring/rte_eth_ring.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/librte_pmd_ring/rte_eth_ring.c b/lib/librte_pmd_ring/rte_eth_ring.c +index 73c649e..4f1b6ed 100644 +--- a/lib/librte_pmd_ring/rte_eth_ring.c ++++ b/lib/librte_pmd_ring/rte_eth_ring.c +@@ -493,7 +493,6 @@ rte_pmd_ring_devinit(const char *name, const char *params) + eth_dev_ring_create(name, rte_socket_id(), DEV_CREATE); + return 0; + } else { +- eth_dev_ring_create(name, rte_socket_id(), DEV_CREATE); + ret = rte_kvargs_count(kvlist, ETH_RING_NUMA_NODE_ACTION_ARG); + info = rte_zmalloc("struct node_action_list", sizeof(struct node_action_list) + + (sizeof(struct node_action_pair) * ret), 0); +@@ -510,7 +509,7 @@ rte_pmd_ring_devinit(const char *name, const char *params) + goto out_free; + + for (info->count = 0; info->count < info->total; info->count++) { +- eth_dev_ring_pair_create(name, info->list[info->count].node, ++ eth_dev_ring_create(name, info->list[info->count].node, + info->list[info->count].action); + } + } +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf