Message ID | 0a60f041662ae5aec08d0ee9ba9795fc07292d62.1496876859.git.gaetan.rivet@6wind.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 02AB97CD8; Thu, 8 Jun 2017 01:57:40 +0200 (CEST) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id E52627CBF for <dev@dpdk.org>; Thu, 8 Jun 2017 01:57:25 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id x70so67309762wme.0 for <dev@dpdk.org>; Wed, 07 Jun 2017 16:57:25 -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=OqWaTh/iaqZIZU1zFJbXIPmWrqLgWQ4l1hD/Sm6UFzQ=; b=DtQAHL6iGUnO7iVZpMOmlx/sMIFwXos878LVEf2yFpMeYpAM+4hpXzFtxjiy5jHqXe jTY8/JSoHtlbXpokMroszsofwdXrDifuigbwCon5UYEzlV8XVfvmw0XRYSwG6+BEDkSA 2xxH9bIh+Ng0Cf4R25cDsF6cnOzM4ZDYxa0Y1AzMPGquEjjeA6nfW4FxzWNmgSEAEHYZ yYMHd7TOGXNz1zJcMf998Hvb1MgJl/EBQVfo4plu7sCaq3JSR/5MFxQN9K4gwgazdKLE LforOdo/Nq/9isz/sldANEpi8TsabhRjVXGddXx90+Q9hnVxsLaAf6LQA58f+nBKvKyx 4khA== 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=OqWaTh/iaqZIZU1zFJbXIPmWrqLgWQ4l1hD/Sm6UFzQ=; b=lB4kowUi5fa47aXofdXq7ytJzvsKeJNjL2+n4VizTrJnsag8Bb9sEX1QT+p/S256nB FP/80yVJDu8Jm5GOevuXnHbrac6gcJ4mbEJ1wsXQiHlCrwDHrloZCA9IHc6lu8nXtfad 2/D/T9m74n0jjKiFYoKQKsUaLC8fLC22QMLD7pqi7bqLt1Dsd3x5Cx4Ui38/ztDHUOMt /nbZ/D24cIhW+ueK2Y/mQ5q0POL3agj/sGZEDr9I2B8hMn2lY5+uFTjXtKyH+eJuMidw lfsUJfBcNAZV1lFa6TFDWkf7Jaazu3henKzgiVNpC+txzYWg1VnFynzfcIzsLP1jKnrH eOXA== X-Gm-Message-State: AODbwcBd+doAln9fyFNmr7K5czGt5menihpmPWy5Y8DYV/RNxFznswD/ ioQFDSfK73tj+eeIz1I= X-Received: by 10.28.136.201 with SMTP id k192mr1439245wmd.122.1496879845405; Wed, 07 Jun 2017 16:57:25 -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 185sm22397056wmp.1.2017.06.07.16.57.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 16:57:24 -0700 (PDT) From: Gaetan Rivet <gaetan.rivet@6wind.com> To: dev@dpdk.org Cc: Gaetan Rivet <gaetan.rivet@6wind.com> Date: Thu, 8 Jun 2017 01:56:51 +0200 Message-Id: <0a60f041662ae5aec08d0ee9ba9795fc07292d62.1496876859.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <cover.1496876859.git.gaetan.rivet@6wind.com> References: <cover.1496309846.git.gaetan.rivet@6wind.com> <cover.1496876859.git.gaetan.rivet@6wind.com> In-Reply-To: <cover.1496876859.git.gaetan.rivet@6wind.com> References: <cover.1496876859.git.gaetan.rivet@6wind.com> Subject: [dpdk-dev] [PATCH v4 05/19] net/ixgbe: properly reference PCI header 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> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | fail | apply patch file failure |
Commit Message
Gaëtan Rivet
June 7, 2017, 11:56 p.m. UTC
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---
drivers/net/ixgbe/ixgbe_ethdev.h | 1 +
1 file changed, 1 insertion(+)
Comments
Why to introduce this change ? Even without this patch, all files can be built successfully. Each.*.o.d files in x86_64-native-linuxapp-gcc keeps same in both with and without this patch. So there is no need to add the line at least in the config of x86_64-native-linuxapp-gcc. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gaetan Rivet > Sent: Thursday, June 8, 2017 7:57 AM > To: dev@dpdk.org > Cc: Gaetan Rivet <gaetan.rivet@6wind.com> > Subject: [dpdk-dev] [PATCH v4 05/19] net/ixgbe: properly reference PCI header > > Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> > --- > drivers/net/ixgbe/ixgbe_ethdev.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.h > b/drivers/net/ixgbe/ixgbe_ethdev.h > index e2d0139..bb5ecd5 100644 > --- a/drivers/net/ixgbe/ixgbe_ethdev.h > +++ b/drivers/net/ixgbe/ixgbe_ethdev.h > @@ -39,6 +39,7 @@ > #include "ixgbe_bypass.h" > #include <rte_time.h> > #include <rte_hash.h> > +#include <rte_pci.h> > > /* need update link, bit flag */ > #define IXGBE_FLAG_NEED_LINK_UPDATE (uint32_t)(1 << 0) > -- > 2.1.4
Hi, On Wed, Jun 14, 2017 at 09:33:14AM +0000, Dai, Wei wrote: > Why to introduce this change ? > > Even without this patch, all files can be built successfully. > Each.*.o.d files in x86_64-native-linuxapp-gcc keeps same in both with and without this patch. > So there is no need to add the line at least in the config of x86_64-native-linuxapp-gcc. > > In order to remove the PCI bus from the EAL, I need to remove all references to it from EAL headers. rte_devargs.h previously included rte_pci.h, which then was included by several other parts of the DPDK. This needs to be fixed, as afterward, the commit * devargs: generic device representation removes the PCI include. This include was faulty anyway, as normally all compile units (or at least independent DPDK parts) should be self-sufficient in terms of includes, due to this exact situation where libraries are moved around and their dependencies are updated. > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Gaetan Rivet > > Sent: Thursday, June 8, 2017 7:57 AM > > To: dev@dpdk.org > > Cc: Gaetan Rivet <gaetan.rivet@6wind.com> > > Subject: [dpdk-dev] [PATCH v4 05/19] net/ixgbe: properly reference PCI header > > > > Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> > > --- > > drivers/net/ixgbe/ixgbe_ethdev.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.h > > b/drivers/net/ixgbe/ixgbe_ethdev.h > > index e2d0139..bb5ecd5 100644 > > --- a/drivers/net/ixgbe/ixgbe_ethdev.h > > +++ b/drivers/net/ixgbe/ixgbe_ethdev.h > > @@ -39,6 +39,7 @@ > > #include "ixgbe_bypass.h" > > #include <rte_time.h> > > #include <rte_hash.h> > > +#include <rte_pci.h> > > > > /* need update link, bit flag */ > > #define IXGBE_FLAG_NEED_LINK_UPDATE (uint32_t)(1 << 0) > > -- > > 2.1.4 >
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.h b/drivers/net/ixgbe/ixgbe_ethdev.h index e2d0139..bb5ecd5 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.h +++ b/drivers/net/ixgbe/ixgbe_ethdev.h @@ -39,6 +39,7 @@ #include "ixgbe_bypass.h" #include <rte_time.h> #include <rte_hash.h> +#include <rte_pci.h> /* need update link, bit flag */ #define IXGBE_FLAG_NEED_LINK_UPDATE (uint32_t)(1 << 0)