app/testpmd: rework simple forward config
authorMatan Azrad <matan@mellanox.com>
Mon, 5 Feb 2018 14:09:23 +0000 (14:09 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Feb 2018 17:05:08 +0000 (18:05 +0100)
commit41fc015197b9c135b81e565dba5f1e6da83545f4
tree6013faf849183db5e81f29613a09567dfa1fd0f2
parent4deefb6f7107dd6a40900be4f1d6a6844a702505
app/testpmd: rework simple forward config

A new function was added to get a Tx port index as a function of the
topology mode and the Rx port index.

Use this function to get the Tx port index of simple stream.

Signed-off-by: Matan Azrad <matan@mellanox.com>
app/test-pmd/config.c