Re: [dpdk-dev] [PATCH] ethdev: fix corrupted device info in configure

2018-05-09 Thread Ferruh Yigit
On 5/9/2018 11:50 PM, Thomas Monjalon wrote: > 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 whi

Re: [dpdk-dev] [PATCH] ethdev: fix corrupted device info in configure

2018-05-09 Thread Thomas Monjalon
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 d