Re: [dpdk-dev] [PATCH v4 7/7] examples/vhost_crypto: enhance getopt_long usage

2021-03-23 Thread Maxime Coquelin
On 2/4/21 8:34 AM, 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. This is to improve readability and co

Re: [dpdk-dev] [PATCH v4 7/7] examples/vhost_crypto: enhance getopt_long usage

2021-02-05 Thread Zhang, Roy Fan
> -Original Message- > From: Ibtisam Tariq > Sent: Thursday, February 4, 2021 7:34 AM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > Dumitrescu, Cristian ; Singh, Jasvinder > ; Mcnamara, John > ; Pattan, Reshma ; > Ananyev, Konstantin ; Kovacevic, Marko > > Cc: dev@dpdk.org; Ibtisam Ta