[dpdk-dev] [PATCH v4 23/23] ethdev: Decouple struct rte_eth_dev from struct rte_pci_device

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Dec 22 16:22:25 CET 2016


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?


More information about the dev mailing list