Re: [PATCH v6 0/4] fix segment fault when parse args

2024-10-11 Thread fengchengwen
On 2024/10/11 22:13, David Marchand wrote: > On Wed, Oct 9, 2024 at 6:50 AM Chengwen Feng wrote: >> >> The rte_kvargs_process() was used to parse key-value (e.g. socket_id=0), >> it also supports to parse only-key (e.g. socket_id). But many drivers's >> callback can only handle key-value, it will

Re: [PATCH v6 0/4] fix segment fault when parse args

2024-10-11 Thread David Marchand
On Wed, Oct 9, 2024 at 6:50 AM Chengwen Feng wrote: > > The rte_kvargs_process() was used to parse key-value (e.g. socket_id=0), > it also supports to parse only-key (e.g. socket_id). But many drivers's > callback can only handle key-value, it will segment fault if handles > only-key. so the patch

[PATCH v6 0/4] fix segment fault when parse args

2024-10-08 Thread Chengwen Feng
The rte_kvargs_process() was used to parse key-value (e.g. socket_id=0), it also supports to parse only-key (e.g. socket_id). But many drivers's callback can only handle key-value, it will segment fault if handles only-key. so the patchset [1] was introduced. Because the patchset [1] modified too