Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/12496/?format=api
http://patches.dpdk.org/api/patches/12496/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1462542490-15556-10-git-send-email-viktorin@rehivetech.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": "<1462542490-15556-10-git-send-email-viktorin@rehivetech.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1462542490-15556-10-git-send-email-viktorin@rehivetech.com", "date": "2016-05-06T13:47:51", "name": "[dpdk-dev,v1,09/28] eal: introduce --no-soc option", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "7ac43640510ca50a80fe69f022fdcc483234c70b", "submitter": { "id": 292, "url": "http://patches.dpdk.org/api/people/292/?format=api", "name": "Jan Viktorin", "email": "viktorin@rehivetech.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1462542490-15556-10-git-send-email-viktorin@rehivetech.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/12496/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/12496/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 1579D5A64;\n\tFri, 6 May 2016 15:50:19 +0200 (CEST)", "from wes1-so2.wedos.net (wes1-so2.wedos.net [46.28.106.16])\n\tby dpdk.org (Postfix) with ESMTP id 562915594\n\tfor <dev@dpdk.org>; Fri, 6 May 2016 15:50:09 +0200 (CEST)", "from pcviktorin.fit.vutbr.cz (pcviktorin.fit.vutbr.cz\n\t[147.229.13.147])\n\tby wes1-so2.wedos.net (Postfix) with ESMTPSA id 3r1Y7P1B6Gz7CY;\n\tFri, 6 May 2016 15:50:09 +0200 (CEST)" ], "From": "Jan Viktorin <viktorin@rehivetech.com>", "To": "dev@dpdk.org", "Cc": "Jan Viktorin <viktorin@rehivetech.com>,\n\tDavid Marchand <david.marchand@6wind.com>,\n\tThomas Monjalon <thomas.monjalon@6wind.com>,\n\tBruce Richardson <bruce.richardson@intel.com>,\n\tDeclan Doherty <declan.doherty@intel.com>, jianbo.liu@linaro.org,\n\tjerin.jacob@caviumnetworks.com, Keith Wiles <keith.wiles@intel.com>, \n\tStephen Hemminger <stephen@networkplumber.org>", "Date": "Fri, 6 May 2016 15:47:51 +0200", "Message-Id": "<1462542490-15556-10-git-send-email-viktorin@rehivetech.com>", "X-Mailer": "git-send-email 2.8.0", "In-Reply-To": [ "<1462542490-15556-1-git-send-email-viktorin@rehivetech.com>", "<1451682326-5834-1-git-send-email-viktorin@rehivetech.com>" ], "References": [ "<1462542490-15556-1-git-send-email-viktorin@rehivetech.com>", "<1451682326-5834-1-git-send-email-viktorin@rehivetech.com>" ], "Subject": "[dpdk-dev] [PATCH v1 09/28] eal: introduce --no-soc option", "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": "This option has the same meaning for the SoC infra as the --no-pci\nfor the PCI infra.\n\nSigned-off-by: Jan Viktorin <viktorin@rehivetech.com>\n---\n lib/librte_eal/common/eal_common_options.c | 5 +++++\n lib/librte_eal/common/eal_internal_cfg.h | 1 +\n lib/librte_eal/common/eal_options.h | 2 ++\n 3 files changed, 8 insertions(+)", "diff": "diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c\nindex 3efc90f..09d64f7 100644\n--- a/lib/librte_eal/common/eal_common_options.c\n+++ b/lib/librte_eal/common/eal_common_options.c\n@@ -85,6 +85,7 @@ eal_long_options[] = {\n \t{OPT_NO_HPET, 0, NULL, OPT_NO_HPET_NUM },\n \t{OPT_NO_HUGE, 0, NULL, OPT_NO_HUGE_NUM },\n \t{OPT_NO_PCI, 0, NULL, OPT_NO_PCI_NUM },\n+\t{OPT_NO_SOC, 0, NULL, OPT_NO_SOC_NUM },\n \t{OPT_NO_SHCONF, 0, NULL, OPT_NO_SHCONF_NUM },\n \t{OPT_PCI_BLACKLIST, 1, NULL, OPT_PCI_BLACKLIST_NUM },\n \t{OPT_PCI_WHITELIST, 1, NULL, OPT_PCI_WHITELIST_NUM },\n@@ -841,6 +842,10 @@ eal_parse_common_option(int opt, const char *optarg,\n \t\tconf->no_pci = 1;\n \t\tbreak;\n \n+\tcase OPT_NO_SOC_NUM:\n+\t\tconf->no_soc = 1;\n+\t\tbreak;\n+\n \tcase OPT_NO_HPET_NUM:\n \t\tconf->no_hpet = 1;\n \t\tbreak;\ndiff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h\nindex 5f1367e..3a98e94 100644\n--- a/lib/librte_eal/common/eal_internal_cfg.h\n+++ b/lib/librte_eal/common/eal_internal_cfg.h\n@@ -67,6 +67,7 @@ struct internal_config {\n \tunsigned hugepage_unlink; /**< true to unlink backing files */\n \tvolatile unsigned xen_dom0_support; /**< support app running on Xen Dom0*/\n \tvolatile unsigned no_pci; /**< true to disable PCI */\n+\tvolatile unsigned no_soc; /**< true to disable SoC */\n \tvolatile unsigned no_hpet; /**< true to disable HPET */\n \tvolatile unsigned vmware_tsc_map; /**< true to use VMware TSC mapping\n \t\t\t\t\t\t\t\t\t\t* instead of native TSC */\ndiff --git a/lib/librte_eal/common/eal_options.h b/lib/librte_eal/common/eal_options.h\nindex a881c62..ba1e704 100644\n--- a/lib/librte_eal/common/eal_options.h\n+++ b/lib/librte_eal/common/eal_options.h\n@@ -69,6 +69,8 @@ enum {\n \tOPT_NO_HUGE_NUM,\n #define OPT_NO_PCI \"no-pci\"\n \tOPT_NO_PCI_NUM,\n+#define OPT_NO_SOC \"no-soc\"\n+\tOPT_NO_SOC_NUM,\n #define OPT_NO_SHCONF \"no-shconf\"\n \tOPT_NO_SHCONF_NUM,\n #define OPT_SOCKET_MEM \"socket-mem\"\n", "prefixes": [ "dpdk-dev", "v1", "09/28" ] }{ "id": 12496, "url": "