Re: [dpdk-dev] [PATCH] app/testpmd: add boundary check in flow commandline

2018-12-05 Thread Zhao1, Wei
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, December 4, 2018 5:22 PM > To: Zhao1, Wei ; dev@dpdk.org > Cc: sta...@dpdk.org; Peng, Yuan ; Zhao1, Wei > > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: add boundary check in flow > commandline &g

Re: [dpdk-dev] [PATCH] app/testpmd: add boundary check in flow commandline

2018-12-04 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Zhao > Sent: Tuesday, December 4, 2018 5:52 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Peng, Yuan ; Zhao1, Wei > > Subject: [dpdk-dev] [PATCH] app/testpmd: add boundary check i

Re: [dpdk-dev] [PATCH] app/testpmd: add boundary check in flow commandline

2018-12-03 Thread Zhao1, Wei
Send on behalf of Peng, Yuan Tested-by: Peng, Yuan - Tested Branch: dpdk-master - Tested commit 0da7f445df445630c794897347ee360d6fe6348b - OS: 4.5.5-300.fc24.x86_64 - GCC: gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2) - CPU: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz - NIC: Intel Corporation 82599

[dpdk-dev] [PATCH] app/testpmd: add boundary check in flow commandline

2018-12-03 Thread Wei Zhao
There is need to add boundary for input number from commandline, If it beyond the defination, code will return error. Signed-off-by: Wei Zhao --- app/test-pmd/cmdline_flow.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdlin