From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gaetan.rivet@6wind.com>
Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com
 [209.85.128.181]) by dpdk.org (Postfix) with ESMTP id 2E6A31B18C
 for <dev@dpdk.org>; Mon, 18 Sep 2017 11:32:10 +0200 (CEST)
Received: by mail-wr0-f181.google.com with SMTP id k20so5705992wre.4
 for <dev@dpdk.org>; Mon, 18 Sep 2017 02:32:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :in-reply-to:references;
 bh=XGEwkAbQG06J+JDfaFXommMcjsSQJrhovIPwlf5nYSM=;
 b=SI3EZS7dtBPIH41LRtH3P+O6YFHoSY1IggeQQXXvirAXRbnEwz/TbtUfvxwWr3obxv
 gWiYExDX5cwV0HEZo6i1pvRFW6QGSCvZ1/g92eq81xgeaoqfbFL59NBDsbEpJIxxkjYH
 LRBNYqzNjBK0YYYZ517wfjSglPHNNDHESLsDX4CuIHMxCbMUzrogBtgltR6ASwXd9Axz
 6FSBedXOpClm72sv83G4fXm2VQRv5l0hHHZBKiCWFQKLsP/BhN9YdfiX1CrEKY1wjKLy
 gnjDNVjlZDI+eM3dpYnux1MRFyMiK77pOk/ytt64m6/hHZ92AraxxdKJGJeYZ/YiDRo+
 YyrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:in-reply-to:references;
 bh=XGEwkAbQG06J+JDfaFXommMcjsSQJrhovIPwlf5nYSM=;
 b=oZnS05YYXdU9bd9I66n6tznEDiT7HiPTAlh35gr5W7sXhOlbt5GDkOpSbIf47t5k74
 5LCztqvO/UBd+oFGJ6LkdG4o5gXshcHFC38rL6JC3DDK4SDeqbqNUSqCVZWWkYLSkk0C
 xHI6tm4kk12Ey1WoagbgfVeGBTI8Qa37hjF27Rs4BJTuctrydfEvwHOr/KEtHsMFn5Gm
 Htl6aznsMNyR+8ORTUFCUGymQ24hOn4A9kDbWJvZ8k1YUQAeQaE0sZuyrczYsF97OMuJ
 h+QiYlWriEHOTIXJj5mkpEVzOyh4xzrXOWmbfyuEjoRvdmxzViu/oq8aa9MMxQ6AFoZ0
 iz4g==
X-Gm-Message-State: AHPjjUiCUcaxBL2oWYLVIl6u5i407AcgRZF1ZAvw0Q+ORC0Fucqc2JJy
 +8LTZ1sDka7sLPD4o4k=
X-Google-Smtp-Source: ADKCNb5WEt6p6zmz9t2BIokHpseviwLQqqgRau/6DgSS2m6lYnquNBGczNQbaZSp3rHrvQDMRnMGvw==
X-Received: by 10.223.158.145 with SMTP id a17mr22199836wrf.47.1505727129513; 
 Mon, 18 Sep 2017 02:32:09 -0700 (PDT)
Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com.
 [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id f89sm6416859wmh.18.2017.09.18.02.32.08
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Mon, 18 Sep 2017 02:32:08 -0700 (PDT)
From: Gaetan Rivet <gaetan.rivet@6wind.com>
To: dev@dpdk.org
Cc: Gaetan Rivet <gaetan.rivet@6wind.com>
Date: Mon, 18 Sep 2017 11:31:40 +0200
Message-Id: <20b7e5a703715353bc21c995fde8f0bd207a0c2c.1505726803.git.gaetan.rivet@6wind.com>
X-Mailer: git-send-email 2.1.4
In-Reply-To: <cover.1505726803.git.gaetan.rivet@6wind.com>
References: <cover.1503651392.git.gaetan.rivet@6wind.com>
 <cover.1505726803.git.gaetan.rivet@6wind.com>
In-Reply-To: <cover.1505726803.git.gaetan.rivet@6wind.com>
References: <cover.1505726803.git.gaetan.rivet@6wind.com>
Subject: [dpdk-dev] [PATCH v2 06/14] lib: include rte_bus_pci
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Sep 2017 09:32:10 -0000

Devices and drivers are now defined within the bus-specific PCI header.
Update the libraries, as structuraly unsound as it may be.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---
 lib/librte_ether/rte_ethdev_pci.h          | 1 +
 lib/librte_eventdev/rte_eventdev_pmd_pci.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/librte_ether/rte_ethdev_pci.h b/lib/librte_ether/rte_ethdev_pci.h
index 56b1072..722075e 100644
--- a/lib/librte_ether/rte_ethdev_pci.h
+++ b/lib/librte_ether/rte_ethdev_pci.h
@@ -36,6 +36,7 @@
 
 #include <rte_malloc.h>
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 #include <rte_ethdev.h>
 
 /**
diff --git a/lib/librte_eventdev/rte_eventdev_pmd_pci.h b/lib/librte_eventdev/rte_eventdev_pmd_pci.h
index b6bd731..ade32b5 100644
--- a/lib/librte_eventdev/rte_eventdev_pmd_pci.h
+++ b/lib/librte_eventdev/rte_eventdev_pmd_pci.h
@@ -50,6 +50,7 @@ extern "C" {
 #include <rte_eal.h>
 #include <rte_lcore.h>
 #include <rte_pci.h>
+#include <rte_bus_pci.h>
 
 #include "rte_eventdev_pmd.h"
 
-- 
2.1.4