[dpdk-dev] [PATCH v4 1/7] examples/fips_validation: enhance getopt_long usage

David Marchand david.marchand at redhat.com
Tue Mar 23 12:52:48 CET 2021


On Thu, Feb 4, 2021 at 8:34 AM Ibtisam Tariq <ibtisam.tariq at emumba.com> 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 consistency in
> all examples.
>
> Bugzilla ID: 238
> Cc: marko.kovacevic at intel.com
>
> Reported-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq at emumba.com>

Series applied, thanks for the cleanup Ibtisam.

As I mentioned before, there are still some unaligned examples (flow_classify,
ip_reassembly, kni, l2fwd-crypto, l3fwd-power, multi_process/symmetric_mp, vpda,
vmdq, vmdq_dcb), so I'll leave the bz open.


-- 
David Marchand



More information about the dev mailing list