Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Thomas Monjalon
09/02/2022 20:29, Stephen Hemminger: > On Wed, 09 Feb 2022 19:51:15 +0100 > Thomas Monjalon wrote: > > > 09/02/2022 16:45, Stephen Hemminger: > > > On Wed, 09 Feb 2022 15:58:26 +0100 > > > Thomas Monjalon wrote: > > > > > > > 02/02/2022 20:47, Stephen Hemminger: > > > > > The rte_eal_init f

Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Stephen Hemminger
On Wed, 09 Feb 2022 19:51:15 +0100 Thomas Monjalon wrote: > 09/02/2022 16:45, Stephen Hemminger: > > On Wed, 09 Feb 2022 15:58:26 +0100 > > Thomas Monjalon wrote: > > > > > 02/02/2022 20:47, Stephen Hemminger: > > > > The rte_eal_init function looks at argv[0] to determine > > > > the progr

Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Thomas Monjalon
09/02/2022 16:45, Stephen Hemminger: > On Wed, 09 Feb 2022 15:58:26 +0100 > Thomas Monjalon wrote: > > > 02/02/2022 20:47, Stephen Hemminger: > > > The rte_eal_init function looks at argv[0] to determine > > > the program name to pass to the log init function. > > > This is both unnecessary and i

Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Stephen Hemminger
On Wed, 09 Feb 2022 15:58:26 +0100 Thomas Monjalon wrote: > 02/02/2022 20:47, Stephen Hemminger: > > The rte_eal_init function looks at argv[0] to determine > > the program name to pass to the log init function. > > This is both unnecessary and in a corner case a problem. > > > > Parsing argv[0]

Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Stephen Hemminger
On Wed, 09 Feb 2022 15:58:26 +0100 Thomas Monjalon wrote: > 02/02/2022 20:47, Stephen Hemminger: > > The rte_eal_init function looks at argv[0] to determine > > the program name to pass to the log init function. > > This is both unnecessary and in a corner case a problem. > > > > Parsing argv[0]

Re: [PATCH] eal: remove unnecessary argv[0] handling

2022-02-09 Thread Thomas Monjalon
02/02/2022 20:47, Stephen Hemminger: > The rte_eal_init function looks at argv[0] to determine > the program name to pass to the log init function. > This is both unnecessary and in a corner case a problem. > > Parsing argv[0] is unnecessary because the function openlog() > already determines the

[PATCH] eal: remove unnecessary argv[0] handling

2022-02-02 Thread Stephen Hemminger
The rte_eal_init function looks at argv[0] to determine the program name to pass to the log init function. This is both unnecessary and in a corner case a problem. Parsing argv[0] is unnecessary because the function openlog() already determines the log identifier from program name if NULL is passe