On 3/30/2018 7:44 AM, David Marchand wrote: > Hello Ferruh, > > On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit <ferruh.yi...@intel.com> wrote: >> Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it >> although it is common for all ethdev in all buses. >> >> Replacing pci specific struct with generic device struct and updating >> places that are using pci device in a way to get this information from >> generic device. >> >> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com> >> Acked-by: Shreyansh Jain <shreyansh.j...@nxp.com> >> Acked-by: Allain Legacy <allain.leg...@windriver.com> >> Acked-by: Tomasz Duszynski <t...@semihalf.com> >> Acked-by: Santosh Shukla <santosh.shu...@caviumnetworks.com> > > The ethdev device already points to the backing device. > So, can't this be done in the ethdev layer itself ?
Thanks Dave, yes, I think can be done. I will update according. > >