app/testpmd: remove port status check from TM command
authorJasvinder Singh <jasvinder.singh@intel.com>
Fri, 10 Nov 2017 10:30:49 +0000 (10:30 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 11 Nov 2017 15:18:21 +0000 (16:18 +0100)
commitdc1f1b232000dcf65994b9755f7969c00cbd11de
treed1d4562de312454f12add908fc06c4d42b2ca6ab
parent536d3f7c2636bfe90372dfd43d9924db60144352
app/testpmd: remove port status check from TM command

Currently, testpmd CLI doesn't permit to add leaf and non-leaf node when
port is started. It doesn't work in case of i40e device as DCB
configuration is deleted when port is stopped. Therefore, removes the
port status check before invoking leaf and nonleaf node API in the cli.
If needed, device can add port status check at the driver layer.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline_tm.c