[dpdk-dev] [PATCH v2] net/ring: fix eth_dev device pointer on allocation

2020-05-06 Thread Gaetan Rivet
When a net_ring device is allocated, its device pointer is not set before calling rte_eth_dev_probing_finish, which is incorrect. The following: commit: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") commit: a6992e961050 ("net/ring: set ethernet device field") already fixed the s

Re: [dpdk-dev] [PATCH v2] net/ring: fix eth_dev device pointer on allocation

2020-05-08 Thread Ferruh Yigit
On 5/6/2020 7:09 PM, Gaetan Rivet wrote: > When a net_ring device is allocated, its device pointer is not set > before calling rte_eth_dev_probing_finish, which is incorrect. > > The following: > commit: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API") > commit: a6992e961050 ("net/r

Re: [dpdk-dev] [PATCH v2] net/ring: fix eth_dev device pointer on allocation

2020-05-11 Thread Ferruh Yigit
On 5/8/2020 12:00 PM, Ferruh Yigit wrote: > On 5/6/2020 7:09 PM, Gaetan Rivet wrote: >> When a net_ring device is allocated, its device pointer is not set >> before calling rte_eth_dev_probing_finish, which is incorrect. >> >> The following: >> commit: 96cb19521147 ("net/ring: use EAL APIs in PMD