[dpdk-dev] [PATCH v3] ethdev: replace bus specific struct with generic dev

Ferruh Yigit ferruh.yigit at intel.com
Fri Mar 30 12:27:24 CEST 2018


On 3/30/2018 7:44 AM, David Marchand wrote:
> 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 ?

Thanks Dave, yes, I think can be done. I will update according.

> 
> 



More information about the dev mailing list