Re: [PATCH v4 4/5] common/nfp: use new API to parse kvargs

2023-11-05 Thread fengchengwen
Hi Stephen, On 2023/11/6 11:19, Stephen Hemminger wrote: > On Sun, 5 Nov 2023 05:45:38 + > Chengwen Feng wrote: > >> if (rte_kvargs_count(kvargs, RTE_DEVARGS_KEY_CLASS) != 0) { >> -rte_kvargs_process(kvargs, RTE_DEVARGS_KEY_CLASS, >> -nfp_kvarg_de

[PATCH v4 4/5] common/nfp: use new API to parse kvargs

2023-11-04 Thread Chengwen Feng
The nfp_parse_class_options() function could handle both key=value and only-key, so it should use rte_kvargs_process_opt() instead of rte_kvargs_process() to parse. Signed-off-by: Chengwen Feng --- drivers/common/nfp/nfp_common_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif