app/testpmd: allow TM hierarchy commit on running port
authorJasvinder Singh <jasvinder.singh@intel.com>
Fri, 27 Oct 2017 09:46:19 +0000 (10:46 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 07:34:42 +0000 (07:34 +0000)
commit6fcaacd4c2447c78ecf71e67214021c967a72a7b
tree23d9d196b9141d97f357c02b200b5832cc8eea32
parent860806fc7b39135be23b331233ac30b242391093
app/testpmd: allow TM hierarchy commit on running port

Some drivers might allow to commit the traffic management hierarchy
while being in running state. Therefore, removes port status check
before invoking hierarchy commit 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>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline_tm.c