Re: [PATCH v5 2/5] net/sfc: use new API to parse kvargs

2023-11-06 Thread Andrew Rybchenko
On 11/6/23 15:29, fengchengwen wrote: Hi Andrew, On 2023/11/6 18:28, Andrew Rybchenko wrote: On 11/6/23 10:31, Chengwen Feng wrote: The sfc_kvargs_process() and sfc_efx_dev_class_get() function could handle both key=value and only-key, so they should use rte_kvargs_process_opt() instead of rte

Re: [PATCH v5 2/5] net/sfc: use new API to parse kvargs

2023-11-06 Thread fengchengwen
Hi Andrew, On 2023/11/6 18:28, Andrew Rybchenko wrote: > On 11/6/23 10:31, Chengwen Feng wrote: >> The sfc_kvargs_process() and sfc_efx_dev_class_get() function could >> handle both key=value and only-key, so they should use >> rte_kvargs_process_opt() instead of rte_kvargs_process() to parse. >>

Re: [PATCH v5 2/5] net/sfc: use new API to parse kvargs

2023-11-06 Thread Andrew Rybchenko
On 11/6/23 10:31, Chengwen Feng wrote: The sfc_kvargs_process() and sfc_efx_dev_class_get() function could handle both key=value and only-key, so they should use rte_kvargs_process_opt() instead of rte_kvargs_process() to parse. Signed-off-by: Chengwen Feng --- drivers/common/sfc_efx/sfc_efx.

[PATCH v5 2/5] net/sfc: use new API to parse kvargs

2023-11-05 Thread Chengwen Feng
The sfc_kvargs_process() and sfc_efx_dev_class_get() function could handle both key=value and only-key, so they should use rte_kvargs_process_opt() instead of rte_kvargs_process() to parse. Signed-off-by: Chengwen Feng --- drivers/common/sfc_efx/sfc_efx.c | 4 ++-- drivers/net/sfc/sfc_kvargs.c