Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2183/?format=api
https://patches.dpdk.org/api/patches/2183/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20150101040032.GA11645@hmsreliant.think-freely.org/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20150101040032.GA11645@hmsreliant.think-freely.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20150101040032.GA11645@hmsreliant.think-freely.org", "date": "2015-01-01T04:00:32", "name": "[dpdk-dev] l3fwd error, port 0 is not present on the board", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9a154e7950afe3dd8ebb5fd34350dc7538e0e903", "submitter": { "id": 32, "url": "https://patches.dpdk.org/api/people/32/?format=api", "name": "Neil Horman", "email": "nhorman@tuxdriver.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20150101040032.GA11645@hmsreliant.think-freely.org/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/2183/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/2183/checks/", "tags": {}, "related": [], "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])\n\tby dpdk.org (Postfix) with ESMTP id D51D55A44;\n\tThu, 1 Jan 2015 05:00:40 +0100 (CET)", "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id 3154B5A3F\n\tfor <dev@dpdk.org>; Thu, 1 Jan 2015 05:00:39 +0100 (CET)", "from hmsreliant.think-freely.org\n\t([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1Y6Ww7-0004vF-KX; Wed, 31 Dec 2014 23:00:37 -0500" ], "Date": "Wed, 31 Dec 2014 23:00:32 -0500", "From": "Neil Horman <nhorman@tuxdriver.com>", "To": "Lyn M <netinal7@gmail.com>", "Message-ID": "<20150101040032.GA11645@hmsreliant.think-freely.org>", "References": "<CAM8Q2aVXRMbJZ3u25u_P1hwy_acGGvBQEQr8-CLmWwNK-HPfNg@mail.gmail.com>\n\t<20141229210210.GA31480@localhost.localdomain>\n\t<CAM8Q2aXo5RhtrYnV+SSB_gDkG5OeZ-BCDqib+xaGG84rmRK2iQ@mail.gmail.com>\n\t<20141230212406.GB2187@localhost.localdomain>\n\t<CAM8Q2aUYDQ-+wkLn9hPTNKQnLwBqJOcA2tTO=WFt3eY-sUXnyQ@mail.gmail.com>\n\t<20141231144859.GA6637@localhost.localdomain>\n\t<CAM8Q2aXiXv+WBQPg5PLn7aGp_2V=a=Rcm1vPrXC2u5EycLaZfw@mail.gmail.com>\n\t<20150101033744.GA8149@localhost.localdomain>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<20150101033744.GA8149@localhost.localdomain>", "User-Agent": "Mutt/1.5.23 (2014-03-12)", "X-Spam-Score": "-2.9 (--)", "X-Spam-Status": "No", "Cc": "dev@dpdk.org", "Subject": "Re: [dpdk-dev] l3fwd error, port 0 is not present on the board", "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>,\n\t<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>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "On Wed, Dec 31, 2014 at 10:37:45PM -0500, Neil Horman wrote:\n> On Wed, Dec 31, 2014 at 10:50:10AM -0600, Lyn M wrote:\n> > Neil,\n> > When I build DPDK 1.8.0 with the default value CONFIG_RTE_BUILD_COMBINE_LIBS=n,\n> > I am able to run the testpmd successfully. So, that does appear to be the\n> > culprit.\n> > The objdump -t output for testpmd (with COMBINE_LIBS=n and COMBINE_LIBS=y)\n> > files are here:\n> > https://www.dropbox.com/sh/6os9yfn22jjcnmy/AAAjEV3u06XQ1t3UXdWcgru0a?dl=0\n> > \n> > Thanks,\n> > Lyn\n> > \n> I see the problem. none of the constructors are included in the l3fwd app. I\n> think you might need 174572477028b7f04700389e38f87d2ba01a0adc. Its also\n> possible something else has gone wrong withthe COMBINE_LIBS option. Try\n> building with the head of the tree, and if that doesn't fix it, we can start\n> debugging in earnest.\n> Neil\n\nFound the problem. Please try this patch", "diff": "diff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex e1a0dbf..40afb2c 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -61,6 +61,10 @@ ifeq ($(NO_AUTOLIBS),)\n \n LDLIBS += --whole-archive\n \n+ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)\n+LDLIBS += -l$(RTE_LIBNAME)\n+endif\n+\n ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),n)\n \n ifeq ($(CONFIG_RTE_LIBRTE_DISTRIBUTOR),y)\n@@ -251,10 +255,6 @@ build: _postbuild\n \n exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1))))\n \n-ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y)\n-LDLIBS += -l$(RTE_LIBNAME)\n-endif\n-\n ifeq ($(LINK_USING_CC),1)\n override EXTRA_LDFLAGS := $(call linkerprefix,$(EXTRA_LDFLAGS))\n O_TO_EXE = $(CC) $(CFLAGS) $(LDFLAGS_$(@)) \\\n", "prefixes": [ "dpdk-dev" ] }{ "id": 2183, "url": "