Re: [dpdk-dev] [PATCH v3 3/9] drivers: Use ETH_DEV_PCI_DEV() helper

2016-12-21 Thread Shreyansh Jain
On Wednesday 21 December 2016 03:20 PM, Shreyansh Jain wrote: On Tuesday 20 December 2016 04:41 PM, Jan Blunck wrote: The drivers should not directly access the rte_eth_dev->pci_dev but use a macro instead. This is a preparation for replacing the pci_dev with a struct rte_device member in the fu

Re: [dpdk-dev] [PATCH v3 3/9] drivers: Use ETH_DEV_PCI_DEV() helper

2016-12-21 Thread Shreyansh Jain
On Tuesday 20 December 2016 04:41 PM, Jan Blunck wrote: The drivers should not directly access the rte_eth_dev->pci_dev but use a macro instead. This is a preparation for replacing the pci_dev with a struct rte_device member in the future. Signed-off-by: Jan Blunck --- drivers/net/bnx2x/bnx2x_