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

2018-03-30 Thread Ferruh Yigit
On 3/30/2018 7:44 AM, David Marchand wrote: > Hello Ferruh, > > On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit 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 d

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

2018-03-29 Thread David Marchand
Hello Ferruh, On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit 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

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

2018-03-29 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