Message ID | 1422594454-11045-19-git-send-email-jing.d.chen@intel.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 84A3E5B00; Fri, 30 Jan 2015 06:09:30 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BD76B5A8F for <dev@dpdk.org>; Fri, 30 Jan 2015 06:08:53 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 29 Jan 2015 21:05:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,490,1418112000"; d="scan'208";a="678391889" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 29 Jan 2015 21:08:49 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t0U58j1l014388; Fri, 30 Jan 2015 13:08:45 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t0U58i9Y011205; Fri, 30 Jan 2015 13:08:46 +0800 Received: (from jingche2@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t0U58hM6011201; Fri, 30 Jan 2015 13:08:43 +0800 From: "Chen Jing D(Mark)" <jing.d.chen@intel.com> To: dev@dpdk.org Date: Fri, 30 Jan 2015 13:07:34 +0800 Message-Id: <1422594454-11045-19-git-send-email-jing.d.chen@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1422594454-11045-1-git-send-email-jing.d.chen@intel.com> References: <1422594454-11045-1-git-send-email-jing.d.chen@intel.com> Subject: [dpdk-dev] [PATCH 18/18] Change mk/rte.app.mk to add fm10k lib into link X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <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> |
Commit Message
Chen, Jing D
Jan. 30, 2015, 5:07 a.m. UTC
From: Jeff Shaw <jeffrey.b.shaw@intel.com> Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com> Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com> --- mk/rte.app.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Comments
On Fri, Jan 30, 2015 at 01:07:34PM +0800, Chen Jing D(Mark) wrote: > From: Jeff Shaw <jeffrey.b.shaw@intel.com> > > Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com> > Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com> > --- > mk/rte.app.mk | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 4294d9a..87d8763 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -211,6 +211,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) > LDLIBS += -lrte_pmd_i40e > endif > > +ifeq ($(CONFIG_RTE_LIBRTE_FM10K_PMD),y) > +LDLIBS += -lrte_pmd_fm10k > +endif > + > ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) > LDLIBS += -lrte_pmd_ixgbe > endif > -- > 1.7.7.6 > > This patch should be merged with patch 17, and patch 2, and placed at the end of your series to avoid a FTBFS issue Neil
Hi Neil, > -----Original Message----- > From: Neil Horman [mailto:nhorman@tuxdriver.com] > Sent: Sunday, February 01, 2015 8:51 AM > To: Chen, Jing D > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 18/18] Change mk/rte.app.mk to add fm10k > lib into link > > On Fri, Jan 30, 2015 at 01:07:34PM +0800, Chen Jing D(Mark) wrote: > > From: Jeff Shaw <jeffrey.b.shaw@intel.com> > > > > Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com> > > Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com> > > --- > > mk/rte.app.mk | 4 ++++ > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > > index 4294d9a..87d8763 100644 > > --- a/mk/rte.app.mk > > +++ b/mk/rte.app.mk > > @@ -211,6 +211,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) > > LDLIBS += -lrte_pmd_i40e > > endif > > > > +ifeq ($(CONFIG_RTE_LIBRTE_FM10K_PMD),y) > > +LDLIBS += -lrte_pmd_fm10k > > +endif > > + > > ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) > > LDLIBS += -lrte_pmd_ixgbe > > endif > > -- > > 1.7.7.6 > > > > > This patch should be merged with patch 17, and patch 2, and placed at the > end of > your series to avoid a FTBFS issue My rationale is to make every single patch not to break the compile. So, I'd like to add the binary library into compile and link in last 2 patches, after all the actual code are patched. For Patch 2, I think you are right, maybe a better way is to move it as patch "16". But I'm not sure whether I should merge these 3 together. You know, somebody may not happy to see the changes in different directory to appear in single patch. > Neil
2015-02-02 08:10, Chen, Jing D: > From: Neil Horman [mailto:nhorman@tuxdriver.com] > > This patch should be merged with patch 17, and patch 2, and placed at the > > end of > > your series to avoid a FTBFS issue > > My rationale is to make every single patch not to break the compile. So, I'd like to > add the binary library into compile and link in last 2 patches, after all the actual code > are patched. For Patch 2, I think you are right, maybe a better way is to move it as > patch "16". > > But I'm not sure whether I should merge these 3 together. You know, somebody may > not happy to see the changes in different directory to appear in single patch. No, I think you are wrong. You can have modifications in different directories in a patch. A patch must be atomic (one addition/change/feature at a time) and buildable. In your case, it would be best to have a patch allowing compilation of fm10k after the patch for "register". So it would mean we are able to test the minimal driver and each feature added after. Thanks
Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Monday, February 02, 2015 4:39 PM > To: Chen, Jing D > Cc: dev@dpdk.org; Neil Horman > Subject: Re: [dpdk-dev] [PATCH 18/18] Change mk/rte.app.mk to add fm10k > lib into link > > 2015-02-02 08:10, Chen, Jing D: > > From: Neil Horman [mailto:nhorman@tuxdriver.com] > > > This patch should be merged with patch 17, and patch 2, and placed at the > > > end of > > > your series to avoid a FTBFS issue > > > > My rationale is to make every single patch not to break the compile. So, I'd > like to > > add the binary library into compile and link in last 2 patches, after all the > actual code > > are patched. For Patch 2, I think you are right, maybe a better way is to > move it as > > patch "16". > > > > But I'm not sure whether I should merge these 3 together. You know, > somebody may > > not happy to see the changes in different directory to appear in single > patch. > > No, I think you are wrong. You can have modifications in different directories > in a patch. A patch must be atomic (one addition/change/feature at a time) > and > buildable. In your case, it would be best to have a patch allowing compilation > of fm10k after the patch for "register". So it would mean we are able to test > the minimal driver and each feature added after. OK, got you. I'll change patch accordingly. > > Thanks > -- > Thomas Best Regards, Mark
On Mon, Feb 02, 2015 at 08:10:17AM +0000, Chen, Jing D wrote: > Hi Neil, > > > -----Original Message----- > > From: Neil Horman [mailto:nhorman@tuxdriver.com] > > Sent: Sunday, February 01, 2015 8:51 AM > > To: Chen, Jing D > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 18/18] Change mk/rte.app.mk to add fm10k > > lib into link > > > > On Fri, Jan 30, 2015 at 01:07:34PM +0800, Chen Jing D(Mark) wrote: > > > From: Jeff Shaw <jeffrey.b.shaw@intel.com> > > > > > > Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com> > > > Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com> > > > --- > > > mk/rte.app.mk | 4 ++++ > > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > > > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > > > index 4294d9a..87d8763 100644 > > > --- a/mk/rte.app.mk > > > +++ b/mk/rte.app.mk > > > @@ -211,6 +211,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) > > > LDLIBS += -lrte_pmd_i40e > > > endif > > > > > > +ifeq ($(CONFIG_RTE_LIBRTE_FM10K_PMD),y) > > > +LDLIBS += -lrte_pmd_fm10k > > > +endif > > > + > > > ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) > > > LDLIBS += -lrte_pmd_ixgbe > > > endif > > > -- > > > 1.7.7.6 > > > > > > > > This patch should be merged with patch 17, and patch 2, and placed at the > > end of > > your series to avoid a FTBFS issue > > My rationale is to make every single patch not to break the compile. So, I'd like to > add the binary library into compile and link in last 2 patches, after all the actual code > are patched. For Patch 2, I think you are right, maybe a better way is to move it as > patch "16". > > But I'm not sure whether I should merge these 3 together. You know, somebody may > not happy to see the changes in different directory to appear in single patch. > As Thomas notes, its fine to change multiple directories, its the functionality add and ability to compile that needs to be atomic to a commit. Neil > > Neil > >
diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 4294d9a..87d8763 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -211,6 +211,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y) LDLIBS += -lrte_pmd_i40e endif +ifeq ($(CONFIG_RTE_LIBRTE_FM10K_PMD),y) +LDLIBS += -lrte_pmd_fm10k +endif + ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y) LDLIBS += -lrte_pmd_ixgbe endif