Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/13038/?format=api
http://patches.dpdk.org/api/patches/13038/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1464283037-21478-4-git-send-email-nhorman@tuxdriver.com/", "project": { "id": 1, "url": "http://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": "<1464283037-21478-4-git-send-email-nhorman@tuxdriver.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1464283037-21478-4-git-send-email-nhorman@tuxdriver.com", "date": "2016-05-26T17:17:14", "name": "[dpdk-dev,PATCHv5,3/6] eal: Add an export symbol to expose the autoload path to external tools", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "06fba4722f3ba765ac28551e8ace21c58e046df1", "submitter": { "id": 32, "url": "http://patches.dpdk.org/api/people/32/?format=api", "name": "Neil Horman", "email": "nhorman@tuxdriver.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1464283037-21478-4-git-send-email-nhorman@tuxdriver.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/13038/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/13038/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 620A43978;\n\tThu, 26 May 2016 19:18:24 +0200 (CEST)", "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id 24D7737A8\n\tfor <dev@dpdk.org>; Thu, 26 May 2016 19:18:23 +0200 (CEST)", "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:AES256-SHA:256) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1b5yvK-0006nU-V8; Thu, 26 May 2016 13:18:21 -0400" ], "From": "Neil Horman <nhorman@tuxdriver.com>", "To": "dev@dpdk.org", "Cc": "Neil Horman <nhorman@tuxdriver.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tThomas Monjalon <thomas.monjalon@6wind.com>,\n\tStephen Hemminger <stephen@networkplumber.org>,\n\tPanu Matilainen <pmatilai@redhat.com>", "Date": "Thu, 26 May 2016 13:17:14 -0400", "Message-Id": "<1464283037-21478-4-git-send-email-nhorman@tuxdriver.com>", "X-Mailer": "git-send-email 2.5.5", "In-Reply-To": "<1464283037-21478-1-git-send-email-nhorman@tuxdriver.com>", "References": "<1463431287-4551-1-git-send-email-nhorman@tuxdriver.com>\n\t<1464283037-21478-1-git-send-email-nhorman@tuxdriver.com>", "X-Spam-Score": "-2.9 (--)", "X-Spam-Status": "No", "Subject": "[dpdk-dev] [PATCHv5 3/6] eal: Add an export symbol to expose the\n\tautoload path to external tools", "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": "Export a symbol containing the string:\nDPDK_PLUGIN_PATH=\"$(CONFIG_RTE_EAL_PMD_PATH)\"\n\nWhere the latter half of the string is set at build time to a location from\nwhich autoloaded DSO's will be found. This string is used by pmdinfo in\n'plugin' mode, whereby a user can specify a dpdk installation directory (or\nstatic binary), and scan the associated path (if found) for pmd DSO's and report\non their hardware support.\n\nSigned-off-by: Neil Horman <nhorman@tuxdriver.com>\nCC: Bruce Richardson <bruce.richardson@intel.com>\nCC: Thomas Monjalon <thomas.monjalon@6wind.com>\nCC: Stephen Hemminger <stephen@networkplumber.org>\nCC: Panu Matilainen <pmatilai@redhat.com>\n---\n lib/librte_eal/common/eal_common_options.c | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c\nindex 3efc90f..1af0fb3 100644\n--- a/lib/librte_eal/common/eal_common_options.c\n+++ b/lib/librte_eal/common/eal_common_options.c\n@@ -115,6 +115,15 @@ TAILQ_HEAD_INITIALIZER(solib_list);\n /* Default path of external loadable drivers */\n static const char *default_solib_dir = RTE_EAL_PMD_PATH;\n \n+/*\n+ * Stringified version of solib path used by pmdinfo.py \n+ * Note: PLEASE DO NOT ALTER THIS without making a corresponding\n+ * change to tools/pmdinfo.py\n+ */\n+static const char dpdk_solib_path[] __attribute__((used)) = \\\n+\"DPDK_PLUGIN_PATH=\" RTE_EAL_PMD_PATH;\n+\n+\n static int master_lcore_parsed;\n static int mem_parsed;\n \n", "prefixes": [ "dpdk-dev", "PATCHv5", "3/6" ] }{ "id": 13038, "url": "