app/testpmd: revert setting MTU explicitly after configure
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 16 Nov 2020 19:03:54 +0000 (19:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Nov 2020 20:10:05 +0000 (21:10 +0100)
commit56f0534311d4c61c63e2455169749ae440278122
treee1414ea700fb04c176c22a755f76ebbb2252d824
parenta2999c7bfe395708a6a68ebb6f3199af7d25cffe
app/testpmd: revert setting MTU explicitly after configure

Setting MTU after each 'rte_eth_dev_configure()' prevents using
"--max-pkt-len=N" parameter and "port config all max-pkt-len #" command

This is breaking DTS scatter test case which is using
"--max-pkt-len=9000" testpmd parameter.

Reverting workaround to recover the DTS testcase.

Fixes: 1c21ee95cf52 ("app/testpmd: fix MTU after device configure")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Bo Chen <box.c.chen@intel.com>
app/test-pmd/testpmd.c