23/07/2019 15:39, Thomas Monjalon: > 23/07/2019 15:34, Andrew Rybchenko: > > On 7/23/19 4:14 PM, Thomas Monjalon wrote: > > > 23/07/2019 14:11, Andrew Rybchenko: > > >> rte_eth_dev_info_get() returns void and caller does know if the function > > >> does its job or not. Changing of the return value to int would be > > >> API/ABI breakage which requires deprecation process and cannot be > > >> backported to stable branches. For now, make sure that device info is > > >> initialized even in the case of invalid port ID. > > >> > > >> Fixes: a30268e9a2d0 ("ethdev: reset whole dev info structure before > > >> filling") > > >> Cc: sta...@dpdk.org > > >> > > >> Signed-off-by: Andrew Rybchenko <arybche...@solarflare.com> > > Acked-by: Thomas Monjalon <tho...@monjalon.net>
Applied, thanks