[dpdk-dev] [PATCH v5 1/4] eal: explain argv behaviour during init
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 5 18:51:19 CEST 2023
On Mon, 5 Apr 2021 21:39:51 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:
> After argument parsing done by rte_eal_init(),
> the remaining arguments are to be parsed by the application
> by progressing in the argv array.
> In this context, the first string represented by argv[0] is still
> the same program name as the original argv[0],
> while the next strings are the application arguments.
> This is because rte_eal_init() manipulates the argv array
> after EAL parsing, before returning to the application.
>
> This note was missing in the doxygen comment of the API.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
This old patch is still worth applying
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list