app/testpmd: fix icmp echo Tx queues
authorDavid Marchand <david.marchand@6wind.com>
Thu, 29 Oct 2015 08:47:03 +0000 (09:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 10 Nov 2015 16:22:07 +0000 (17:22 +0100)
commit695ae2788ec665b47db40805a1e999346027b3ba
treed46ab0931cc8a04e12064415c658ffdf675eff09
parent6a5f84590ad6e2b8636228ecc9a2f89de3c2a96c
app/testpmd: fix icmp echo Tx queues

icmp echo forward engine relies on the core rank rather than the number of
queues available.
This fix is still wrong, because if we set a nb-rxq > nb-txq, then we will
use an invalid txq, but with this, we are aligned on other fwd engines.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/config.c