[dpdk-dev] [PATCH v3] ethdev: replace bus specific struct with generic dev
David Marchand
david.marchand at 6wind.com
Fri Mar 30 08:44:56 CEST 2018
Hello Ferruh,
On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit <ferruh.yigit at 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.yigit at intel.com>
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>
> Acked-by: Allain Legacy <allain.legacy at windriver.com>
> Acked-by: Tomasz Duszynski <tdu at semihalf.com>
> Acked-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>
The ethdev device already points to the backing device.
So, can't this be done in the ethdev layer itself ?
--
David Marchand
More information about the dev
mailing list