Re: [PATCH v2 3/5] argparse: replace flag enum with marco

2024-03-07 Thread Tyler Retzlaff
On Thu, Mar 07, 2024 at 06:58:20PM +0100, David Marchand wrote: > On Thu, Mar 7, 2024 at 6:43 PM Tyler Retzlaff > wrote: > > > > On Thu, Mar 07, 2024 at 01:07:40PM +, Chengwen Feng wrote: > > > The enum rte_argparse_flag's value is u64, but an enum in C is > > > represented as an int. This com

Re: [PATCH v2 3/5] argparse: replace flag enum with marco

2024-03-07 Thread David Marchand
On Thu, Mar 7, 2024 at 6:43 PM Tyler Retzlaff wrote: > > On Thu, Mar 07, 2024 at 01:07:40PM +, Chengwen Feng wrote: > > The enum rte_argparse_flag's value is u64, but an enum in C is > > represented as an int. This commit replace these enum values with > > macro. > > > > Fixes: e3e579f5bab5 ("

Re: [PATCH v2 3/5] argparse: replace flag enum with marco

2024-03-07 Thread Tyler Retzlaff
On Thu, Mar 07, 2024 at 01:07:40PM +, Chengwen Feng wrote: > The enum rte_argparse_flag's value is u64, but an enum in C is > represented as an int. This commit replace these enum values with > macro. > > Fixes: e3e579f5bab5 ("argparse: introduce argparse library") > Fixes: 5357c248c960 ("argp

[PATCH v2 3/5] argparse: replace flag enum with marco

2024-03-07 Thread Chengwen Feng
The enum rte_argparse_flag's value is u64, but an enum in C is represented as an int. This commit replace these enum values with macro. Fixes: e3e579f5bab5 ("argparse: introduce argparse library") Fixes: 5357c248c960 ("argparse: parse unsigned integers") Signed-off-by: Chengwen Feng --- lib/arg