app/testpmd: use exit instead of panic
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Aug 2019 02:51:54 +0000 (19:51 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Aug 2019 13:47:56 +0000 (15:47 +0200)
commit16267ceef644e0b180af52d5aae45458f482b126
treebcc3d84429a5e9f609c94789722b6cc91dce411b
parenta87ab9f799214cc412b15a19b11f375a1b67b2d5
app/testpmd: use exit instead of panic

rte_panic causes a backtrace (which is uniformative since all
these calls are in main). Instead use rte_exit and try and make the
messages informative.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
app/test-pmd/testpmd.c