ring: remove extra devices creation with --vdev option
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 9 Jul 2014 14:35:35 +0000 (15:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 14:43:04 +0000 (16:43 +0200)
commit546afbc6827f9f0f7ed501d2af1fc51755e40224
treeaf5464068a320c79104d53b37b141ad15545a20b
parentfb8251bcc5e243c7195263dc4a811546047ae1e8
ring: remove extra devices creation with --vdev option

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 <pablo.de.lara.guarch@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_pmd_ring/rte_eth_ring.c