app/testpmd: limit number of forwarding cores
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 27 Jun 2016 22:35:19 +0000 (23:35 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jun 2016 17:34:15 +0000 (19:34 +0200)
commit017d680a91fcf30da14a6d3a2f96d41f6dda3a0f
tree406ec4476c73bbf5693e5f8c3c9d5c6250cd3768
parent863bfb47449363b5ac8c9574c7247a06a2aaf1c1
app/testpmd: limit number of forwarding cores

Number of forwarding cores must be equal or less than
number of forwarding streams, otherwise two cores
would try to use a same queue on a port, which is not allowed.

Fixes: f2bb7ae1d204 ("app/testpmd: handle all Rx queues in RSS setup")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Tested-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
app/test-pmd/config.c