2016-12-21 16:09, Jan Blunck: > +/** > + * @internal > + * Helper macro for drivers that need to convert to struct rte_pci_device. > + */ > +#define DEV_PCI_DEV(ptr) container_of(ptr, struct rte_pci_device, device)
Please use RTE_ prefix. RTE_PCI_DEV?