On 3/30/2018 7:44 AM, David Marchand wrote: > Hello Ferruh, > > On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit <[email protected]> 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 <[email protected]> >> Acked-by: Shreyansh Jain <[email protected]> >> Acked-by: Allain Legacy <[email protected]> >> Acked-by: Tomasz Duszynski <[email protected]> >> Acked-by: Santosh Shukla <[email protected]> > > 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. > >

