[dpdk-dev] [PATCH 8/8] examples/tep_termination: enhance getopt_long usage
David Marchand
david.marchand at redhat.com
Thu Oct 29 14:16:39 CET 2020
Hello Ibtisam,
On Thu, Oct 29, 2020 at 1:58 PM 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.
>
> Bugzilla ID: 238
> Fixes: a50245ede7 ("examples/tep_term: initialize VXLAN sample")
> Fixes: 2bb43bd435 ("examples/tep_term: add TSO offload configuration")
> Fixes: 39c6daca9b ("examples/tep_term: add UDP tunneling port configuration")
> Fixes: 9b96dd2609 ("examples/tep_term: add inner checksum Tx offload configuration")
> Fixes: e627e8843d ("examples/tep_term: add tunnel filter type configuration")
> Fixes: c6a0fb5f54 ("examples/tep_term: add encap/decap configuration")
> Cc: jijiang.liu at intel.com
>
> Reported-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Ibtisam Tariq <ibtisam.tariq at emumba.com>
This patch can be dropped.
Thomas just merged this example removal.
--
David Marchand
More information about the dev
mailing list