From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaetan Rivet Subject: [PATCH v2 42/42] ethdev: don't include PCI header Date: Tue, 11 Apr 2017 17:44:49 +0200 Message-ID: <7b9b8c5119dfe010ff0ac8d1ad3b3926707fed48.1491924900.git.gaetan.rivet@6wind.com> References: <1488794430-25179-1-git-send-email-jblunck@infradead.org> Cc: Jan Blunck To: dev@dpdk.org Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id CFA23D474 for ; Tue, 11 Apr 2017 17:45:47 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id w204so14464937wmd.1 for ; Tue, 11 Apr 2017 08:45:47 -0700 (PDT) In-Reply-To: In-Reply-To: References: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Jan Blunck 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 --- lib/librte_ether/rte_ethdev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index bd538b0..68a91e2 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 */ -- 2.1.4