examples/ip_pipeline: remove commands restriction
authorJasvinder Singh <jasvinder.singh@intel.com>
Tue, 10 Jul 2018 20:43:39 +0000 (21:43 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Thu, 12 Jul 2018 11:56:17 +0000 (13:56 +0200)
commitf68a1d3f2c060ecaa9c100df122aa7ae68d28748
treecd7cd6ffaf13cd13f8aa8bb26d487c90ee133a0b
parent0ad778b398c676b30096954f9badea3cc0afe644
examples/ip_pipeline: remove commands restriction

Currently, some CLI commands (for examples- add or delete pipeline
table entries, add meter profile etc.) fails to execute when
application pipeline threads are not running. Therefore,
command for enabling pipeline on the thread is required to be
executed first or specified in the script file before any of
such commands.

This patch removes above restriction and adds support for
executing all CLI commands regardless of the pipeline thread state.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/ip_pipeline/thread.c