On 3/20/23 12:20, Chengwen Feng wrote:
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'.This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9e7fc8b8f3be ("net/sfc: add device parameter to choose FW variant") Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Fixes: 63d588ff2692 ("net/sfc: libefx-based driver stub") Fixes: df1bfde4ff0d ("net/sfc: factor out libefx-based Rx datapath") Cc: [email protected] Signed-off-by: Chengwen Feng <[email protected]>
Acked-by: Andrew Rybchenko <[email protected]>

