summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Marchand <david.marchand@6wind.com>2015-10-29 09:47:03 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-10 17:22:07 +0100
commit695ae2788ec665b47db40805a1e999346027b3ba (patch)
treed46ab0931cc8a04e12064415c658ffdf675eff09 /app
parent6a5f84590ad6e2b8636228ecc9a2f89de3c2a96c (diff)
downloaddpdk-695ae2788ec665b47db40805a1e999346027b3ba.zip
dpdk-695ae2788ec665b47db40805a1e999346027b3ba.tar.gz
dpdk-695ae2788ec665b47db40805a1e999346027b3ba.tar.xz
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>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 938b456..eb59d48 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -1351,7 +1351,7 @@ icmp_echo_config_setup(void)
fs->rx_port = fwd_ports_ids[rxp];
fs->rx_queue = rxq;
fs->tx_port = fs->rx_port;
- fs->tx_queue = lc_id;
+ fs->tx_queue = rxq;
fs->peer_addr = fs->tx_port;
if (verbose_level > 0)
printf(" stream=%d port=%d rxq=%d txq=%d\n",