On 3/11/2024 12:55 PM, Thierry Herbelot wrote:
> Commit 9a9eb104edf6 ("ethdev: parse multiple representor devargs") removes
> the following variable initialization in rte_eth_devargs_parse():
> 
>     memset(eth_da, 0, sizeof(*eth_da));
> 
> Restore the memset, as this causes regression in ixgbe PCI probe.
> 
> As the listed commit introduces a new argument: nb_da, the memset
> takes it into account.
> 
> Fixes: 9a9eb104edf6 ("ethdev: parse multiple representor devargs")
> Signed-off-by: Thierry Herbelot <thierry.herbe...@6wind.com>
> Signed-off-by: Olivier Matz <olivier.m...@6wind.com>
>

Thanks for the fix,
Reviewed-by: Ferruh Yigit <ferruh.yi...@amd.com>


Applied to dpdk-next-net/main, thanks.


Patch title and commit log updated as following while merging:
```
ethdev: fix uninitialised representor devargs

rte_eth_devargs_parse() stops initialising eth_devargs variable to zero,
which causes regression in ixgbe PCI probe.

Restore the memset for fix.

As the listed commit introduces a new argument: nb_da, the memset
takes it into account.

Fixes: 9a9eb104edf6 ("ethdev: parse multiple representor devargs")
```

Reply via email to