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

2018-04-10 Thread Ferruh Yigit
On 4/10/2018 2:34 PM, Thomas Monjalon wrote: > 09/04/2018 14:09, Ferruh Yigit: >> 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

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

2018-04-10 Thread Thomas Monjalon
09/04/2018 14:09, Ferruh Yigit: > 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 informat

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

2018-04-09 Thread Ferruh Yigit
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: F