[PATCH v2 4/5] argparse: fix argument flags operate as uint32 type

Thomas Monjalon thomas at monjalon.net
Mon Mar 18 03:31:58 CET 2024


07/03/2024 14:07, Chengwen Feng:
> --- a/app/test/test_argparse.c
> +++ b/app/test/test_argparse.c
> +#define TEST_ARGPARSE_FLAG_HAS_ARG_BITMASK	RTE_SHIFT_VAL64(3, 0)
> +#define TEST_ARGPARSE_FLAG_VAL_TYPE_BITMASK	RTE_SHIFT_VAL64(255, 2)

These masks should be defined in the API probably.




More information about the dev mailing list