app/testpmd: use default Rx/Tx port configuration
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Feb 2015 14:56:38 +0000 (14:56 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 14 Feb 2015 10:35:25 +0000 (11:35 +0100)
commitf2c5125a686ab64034925dabafea0877d1e5857e
tree08b1a7e4204146008f3bbc316150304e710510d7
parente20511e4b2f676bbcc38432edcbb5dbf47eb6a16
app/testpmd: use default Rx/Tx port configuration

Function to get rx/tx port configuration from the PMDs
was added in previous release to simplify the port configuration
in all sample apps, but testpmd was not modified.

This patch makes testpmd get the default rx/tx port configuration,
but still uses the parameters passed by the command line.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h