10/05/2018 00:16, Ferruh Yigit: > Calling dev_infos_get() devops directly in rte_eth_dev_configure cause > random values in uninitialized fields because devops doesn't reset the > dev_info structure. > > Call rte_eth_dev_info_get() API instead which memset the struct. > > Also remove duplicated dev_infos_get existence check. > > Fixes: 3be82f5cc5e3 ("ethdev: support PMD-tuned Tx/Rx parameters") > Cc: remy.hor...@intel.com > > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
Acked-by: Thomas Monjalon <tho...@monjalon.net>