On Thu, Dec 22, 2016 at 9:11 AM, Shreyansh Jain <shreyansh.j...@nxp.com> wrote: > On Thursday 22 December 2016 01:39 AM, Stephen Hemminger wrote: >> >> On Wed, 21 Dec 2016 16:09:44 +0100 >> Jan Blunck <jblu...@infradead.org> wrote: >> >>> Only the device itself can decide its PCI or not. >>> >>> Signed-off-by: Jan Blunck <jblu...@infradead.org> >>> Acked-by: Shreyansh Jain <shreyansh.j...@nxp.com> >>> --- >> >> >> I would still like to kill dev_pci from the dev_info API. >>
I'm fine with that too. > > +1. It should be rte_dev reference instead. > Only if you can give use-cases for what users should be able to do with it. If that is the case we need to clearly define what that means. Do we want to enable users to control the low-level EAL device directly and shortcut the ethdev driver? If that is necessary we need to give control to the driver first to decide if it is safe to do so.