Re: [PATCH] dpdk: remove redundant null check when parse kvargs

2024-11-05 Thread David Marchand
Hello, On Wed, Oct 30, 2024 at 5:00 AM Chengwen Feng wrote: > diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c > index 36b06b3ac5..9366cb39b8 100644 > --- a/drivers/net/tap/rte_eth_tap.c > +++ b/drivers/net/tap/rte_eth_tap.c > @@ -2484,19 +2484,19 @@ rte_pmd_tap_probe(st

[PATCH] dpdk: remove redundant null check when parse kvargs

2024-10-29 Thread Chengwen Feng
As rte_kvargs_process() API already restrict only process key=value, so the callback will never exist 'value == NULL' case. This commit remove such above 'value == NULL' check. Plus, the net/tap driver should use rte_kvargs_process_opt() because it will treat only-key as normal case, so this commi