From: Jan Blunck Date: Tue, 11 Apr 2017 15:44:49 +0000 (+0200) Subject: ethdev: do not include PCI header X-Git-Tag: spdx-start~3643 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4558bd902009677e3bffe5660a826e7c4e67f85d;p=dpdk.git ethdev: do not include PCI header Since the PCI functionality has been moved to the PCI specific ethdev header we don't need to include rte_pci.h from here anymore. Signed-off-by: Jan Blunck Acked-by: Stephen Hemminger --- diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 594a2f11df..3132bfe548 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -179,7 +179,6 @@ extern "C" { #include #include -#include #include #include #include @@ -901,6 +900,8 @@ struct rte_eth_conf { #define DEV_TX_OFFLOAD_GENEVE_TNL_TSO 0x00001000 /**< Used for tunneling packet. */ #define DEV_TX_OFFLOAD_MACSEC_INSERT 0x00002000 +struct rte_pci_device; + /** * Ethernet device information */