From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gaetan.rivet@6wind.com>
Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com
 [209.85.128.180]) by dpdk.org (Postfix) with ESMTP id 6D8061B1AC
 for <dev@dpdk.org>; Mon, 25 Sep 2017 17:24:33 +0200 (CEST)
Received: by mail-wr0-f180.google.com with SMTP id o42so8435568wrb.3
 for <dev@dpdk.org>; Mon, 25 Sep 2017 08:24:33 -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=MGQYGLKvRR305BrXOOB3hlACT0thjtLvUndBc9vZ44l2fbDrlpblnBJ+0ZCGX6iVC/
 oE4F87co3nxVo/mU1fHo56axmzJHSkbZ4noFNfqHHbJMsQRhYY9rtJK/cmE7wBHV/OPs
 EssVifZ9fpmOEHT2etlnunzNUIArWXW3D/TN3wo2mk/YRz9034FhR9OgNgL6ccSuDN6f
 RkXqkolJjCDgxtWW7kteKyRPn9/8MNN7QvoDsS7LQx/R/EiNi/MjOzTRSKzXKGkVl2O8
 g0l2FA2jR44LhHU2TJ89D97UTgr9Q/yIEqggtUgFeNGkHhgVIv8aBjYBf6yknkpJKhth
 RzWg==
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=iTQz2KOl7cO8oqE3rrclj40ywb1vscC7v7mDvCwnFiwfHat5fTL6ni789HNpxgPtzY
 LbXJGblogZfioFJNQ/qRSnjCf/k5O6r8B42NOfPewEhiqq5/sVWjEs6NybZfXwtnMg+i
 qJ5yur38w3Cd2QoGykIAEjjdpZjqANR4wXuf9lB120bb96BXEO0a3lRsv5V+O1UoclQw
 l9ZCsGvK4f6JetYOK7NdZf6N8GqJ9B4oxiutVvxAGaED6ROuOZmqI8MYhyr7afvMSTCS
 yBE69/YnP0hOLJRxkqJiFDGcnjqHmUCkPfD08/T9kUkEk3krBqLLwMP5tRkqR4y0Rn3w
 2R+g==
X-Gm-Message-State: AHPjjUgOBQuWrb7BH1cnM/dm4hc5cJN2MKbE0G3WVZTYpytB0vhw+E/Z
 dBxRc+NQAHNGLW0RnnYFcm3Ee/li
X-Google-Smtp-Source: AOwi7QAsP3dwzwgvJpnApGwlKce1JLVPtY5WMhb5qcELS4rNs9alOfWM0fpqhnzTNYpjgVH13sOpxw==
X-Received: by 10.223.161.137 with SMTP id u9mr7355164wru.280.1506353072755;
 Mon, 25 Sep 2017 08:24:32 -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 o3sm1058933wmg.3.2017.09.25.08.24.31
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Mon, 25 Sep 2017 08:24:31 -0700 (PDT)
From: Gaetan Rivet <gaetan.rivet@6wind.com>
To: dev@dpdk.org
Cc: Gaetan Rivet <gaetan.rivet@6wind.com>
Date: Mon, 25 Sep 2017 17:24:02 +0200
Message-Id: <6aacb58bc14ad490183afe8a9c04c0d6bbe689fb.1506352672.git.gaetan.rivet@6wind.com>
X-Mailer: git-send-email 2.1.4
In-Reply-To: <cover.1506352670.git.gaetan.rivet@6wind.com>
References: <cover.1505726803.git.gaetan.rivet@6wind.com>
 <cover.1506352670.git.gaetan.rivet@6wind.com>
In-Reply-To: <cover.1506352670.git.gaetan.rivet@6wind.com>
References: <cover.1506352670.git.gaetan.rivet@6wind.com>
Subject: [dpdk-dev] [PATCH v3 05/13] 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, 25 Sep 2017 15:24:33 -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