Re: [dpdk-dev] [PATCH 8/8] examples/tep_termination: enhance getopt_long usage

2020-11-02 Thread Ibtisam Tariq
Hi David, Thank you for the update. On Thu, Oct 29, 2020 at 6:16 PM David Marchand wrote: > Hello Ibtisam, > > On Thu, Oct 29, 2020 at 1:58 PM Ibtisam Tariq > wrote: > > > > Instead of using getopt_long return value, strcmp was used to > > compare the input parameters with the struct option ar

Re: [dpdk-dev] [PATCH 8/8] examples/tep_termination: enhance getopt_long usage

2020-10-29 Thread David Marchand
Hello Ibtisam, On Thu, Oct 29, 2020 at 1:58 PM Ibtisam Tariq wrote: > > Instead of using getopt_long return value, strcmp was used to > compare the input parameters with the struct option array. This > patch get rid of all those strcmp by directly binding each longopt > with an int enum. > > Bugz

[dpdk-dev] [PATCH 8/8] examples/tep_termination: enhance getopt_long usage

2020-10-29 Thread Ibtisam Tariq
Instead of using getopt_long return value, strcmp was used to compare the input parameters with the struct option array. This patch get rid of all those strcmp by directly binding each longopt with an int enum. Bugzilla ID: 238 Fixes: a50245ede7 ("examples/tep_term: initialize VXLAN sample") Fixes