[dpdk-dev] [PATCH v2 1/3] app/test-pmd: Handle SIGINT and SIGTERM in testpmd

2015-12-28 Thread Wang, Zhihong
> > - cl = cmdline_stdin_new(main_ctx, "testpmd> "); > > - if (cl == NULL) { > > + testpmd_cl = cmdline_stdin_new(main_ctx, "testpmd> "); > > + if (testpmd_cl == NULL) { > > return; > > } > > Style nit: don't need {} around single statement. > > > +static void > > +sigint_

[dpdk-dev] [PATCH v2 1/3] app/test-pmd: Handle SIGINT and SIGTERM in testpmd

2015-12-27 Thread Stephen Hemminger
On Thu, 24 Dec 2015 21:37:10 -0500 Zhihong Wang wrote: > Handle SIGINT and SIGTERM in testpmd. > > Signed-off-by: Zhihong Wang > --- > app/test-pmd/cmdline.c | 19 +-- > app/test-pmd/testpmd.c | 38 -- > app/test-pmd/testpmd.h | 1 + > 3 fil

[dpdk-dev] [PATCH v2 1/3] app/test-pmd: Handle SIGINT and SIGTERM in testpmd

2015-12-24 Thread Zhihong Wang
Handle SIGINT and SIGTERM in testpmd. Signed-off-by: Zhihong Wang --- app/test-pmd/cmdline.c | 19 +-- app/test-pmd/testpmd.c | 38 -- app/test-pmd/testpmd.h | 1 + 3 files changed, 46 insertions(+), 12 deletions(-) diff --git a/app/test-pmd/