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

2018-03-29 Thread Ferruh Yigit
On 3/29/2018 7:17 AM, Tomasz Duszynski wrote: > On Tue, Mar 27, 2018 at 06:40:52PM +0100, 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 str

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

2018-03-29 Thread santosh
On Tuesday 27 March 2018 11:10 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 device in a w

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

2018-03-29 Thread Tomasz Duszynski
On Tue, Mar 27, 2018 at 06:40:52PM +0100, 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 device

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

2018-03-29 Thread Legacy, Allain
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Tuesday, March 27, 2018 1:41 PM <...> > Subject: [PATCH] ethdev: replace bus specific struct with generic dev > > Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it > although it is comm

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

2018-03-28 Thread Shreyansh Jain
On 3/27/2018 11:10 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 device in a way to get this infor

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

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