app/testpmd: fix flow flush with invalid port
authorJunyu Jiang <junyux.jiang@intel.com>
Fri, 16 Oct 2020 02:03:10 +0000 (02:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:19 +0000 (19:48 +0200)
commit8c2c75be6b4fa542d52e55fdaf03a5f28c0f964b
treedc3171d2ab9d4181d2f842e51074c26fcad64e0e
parent691ad36245065fa2f0261c58ec189af533dd0098
app/testpmd: fix flow flush with invalid port

There is no error info displayed when running flow flush
command with invalid port. This patch fixed the issue.

Fixes: 2a449871a12d ("app/testpmd: align behaviour of multi-port detach")
Cc: stable@dpdk.org
Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
Reviewed-by: Suanming Mou <suanmingm@nvidia.com>
app/test-pmd/config.c