Re: [dpdk-dev] [PATCH v4 00/23] Decouple ethdev from PCI device

2016-12-23 Thread Thomas Monjalon
2016-12-22 16:26, Thomas Monjalon: > I think it would easier to read if RTE_PCI_DEV macro was introduced at > the beginning with container_of macro and used in the "localize patches". > So the patches > [PATCH v4 19/23] drivers: Replace per-PMD macros with > rte_eth_dev_to_pci() helper > and

Re: [dpdk-dev] [PATCH v4 00/23] Decouple ethdev from PCI device

2016-12-22 Thread Thomas Monjalon
2016-12-21 16:09, Jan Blunck: > This is a partial merge of Stephens and my patches to make the rte_eth_dev > independent of the rte_pci_device. Thanks for the hard work. > Jan Blunck (17): > eal: define container_of macro > eal: Allow passing const rte_intr_handle > virtio: Don't fill dev_i

[dpdk-dev] [PATCH v4 00/23] Decouple ethdev from PCI device

2016-12-21 Thread Jan Blunck
This is a partial merge of Stephens and my patches to make the rte_eth_dev independent of the rte_pci_device. Changes between v4 and v3: - broken out refactorings of drivers similar to Stephens example - use inline function instead of macro - fix build issues with bnx2x and mlx4/5 Changes betw