From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0073.outbound.protection.outlook.com [104.47.40.73]) by dpdk.org (Postfix) with ESMTP id 16A49293C for ; Wed, 31 Aug 2016 13:01:45 +0200 (CEST) Received: from DM5PR03CA0014.namprd03.prod.outlook.com (10.175.104.24) by BN6PR03MB2434.namprd03.prod.outlook.com (10.168.223.12) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Wed, 31 Aug 2016 11:01:42 +0000 Received: from BL2FFO11FD025.protection.gbl (2a01:111:f400:7c09::196) by DM5PR03CA0014.outlook.office365.com (2603:10b6:3:118::24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Wed, 31 Aug 2016 11:01:41 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD025.mail.protection.outlook.com (10.173.161.104) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Wed, 31 Aug 2016 11:01:41 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7VB0laV010481; Wed, 31 Aug 2016 04:01:39 -0700 From: Shreyansh Jain To: CC: Shreyansh Jain , Jan Viktorin , Hemant Agrawal Date: Wed, 31 Aug 2016 16:30:25 +0530 Message-ID: <1472641235-23626-5-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472641235-23626-1-git-send-email-shreyansh.jain@nxp.com> References: <1451682326-5834-1-git-send-email-viktorin@rehivetech.com> <1472641235-23626-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131171149021813095; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(8666005)(48376002)(105606002)(50986999)(305945005)(7846002)(97736004)(2906002)(68736007)(4326007)(76176999)(5003940100001)(356003)(110136002)(2351001)(19580405001)(2950100001)(189998001)(106466001)(50466002)(33646002)(92566002)(8676002)(5660300001)(47776003)(81166006)(626004)(229853001)(77096005)(36756003)(50226002)(85426001)(575784001)(86362001)(11100500001)(19580395003)(81156014)(586003)(8936002)(104016004)(87936001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2434; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD025; 1:Wmzw4md9MKxu6jEE80rCFIHdvKqbQvFWO1CSeNUBTv+ChgX6x81TdONjpwdhBE5W/hG+si77c1KTF2CC9ZzsR3C5aeEwoFhv+kHUrTzl7w1urVoiT09jivtUIZC/U2IVIZ8J5ateDAnn/gznRGfRsKiAu6nCEYQRS8LfLFSVoPvH3x8DbV1MAQr7Yn4xqsMkJKwyqbPprwzP9H2cjoo79Rlt+8+wq23MyMbV9FTPUqm0/5aGYYRwiCi9zy05goDDGSIYLIllvhmyrek9kLx6WcDRld3GtAtY2Edu4BaV7QAFBT/7snE1wkwhzjqY860arqaOoUgy9N5Ze6kRMMoyHKODy6cP7c1qNhBETKHh6Rt0AXu/jqGrBUjAHhqFL1fFmbENXkQTAzk9XAkZgYe7EmZQlisztHHG+plrTUgWHJWeBfSuEUg3RffNSDtq3kpOPsRSlwZH6A1m2McOtnV1T0qkwnLb1dNn2Ba5S+uRc731QfQYNeprpZMunAOWSsd/iNuzIqRcAimc88ggextz8vq/rZueaxzoy2lt4OWfd1QqIPdTJgJL1fmbNhlAmcoJy0c8vk6t4ZLIjF7JCmT8Xx9Guut4bPi2FryL1/DZWenbyHyL+XI/6RyViOMhcQLVOuTV1hElnQ/J0WF1eQaXjC5OeQ+o6hAbRlxAJUlEfjlvzHwBIr5YBUnMI/CwPLPGl/KBqC30Gu7pt/QCKzTtuYkFJoImEyjPZOMJpzAM+iQ= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: fe8a2383-b65b-48b8-3806-08d3d18e30ae X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2434; 2:P1U4VzTLRd9mJ1RlA+ZVXuIKU/Wj5y2GzfhPMgRh9kTJMiwlSGJq0aKzXytwoG5W3uF1qTnOjHSobue+WSnb9VU6QT7XrX7groT+2jYLa3XR79AgsXeKfmYCru6amYLO/rS2urVug5TqkCNO4t7n7rmVdZPW3cEyVkobsGD1zWxzZ16EWyDUSknAFtio7ZB5; 3:e3fwklGPL5ohIZrXCY1gZT4XvCSpF15eNx7+bxvkMwtWzqXt2X9bvGZ9V3m+O4zYv0Psq4aupqvim1exuNnco4Zaaqbfm9PAEK1348/P2loIadVqDUDpJD39b1U/O8VGrmLUSgRswNfrCIQj6p0rHG+YQteMdLxKxTjxjsKwbD8cs8PUayG7cb91RiWP8blsRHVOPWVrD3O1mHGBO8LP/IBZ0Qo7QgBuLINBPly0oLM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2434; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2434; 25:61ZEj+p5Tu74kNDnK9SQP0uzvEFIpciLx07WYfVbCI3p8sYs06LW8M44mkiJqMxRRX4aeK4y07dcedxxNgmLiQjjxVumSmah5W/V8Wk+HcFV7emWxLrCKvoG4GQlPc3rMgtyAoBBzn7hmfhRSA6I5QJ0i1s/53EfZd1rndSb9ixteRd0FxYmvIqpwxRAJ+yAZXeDopKK0XQ7V4VnlZXWLTK7vLFiFGkWefudOcMCiIdzfFpeKBAFL/pxriQ3sQFF9pakVFnGAlqwDvVnBHcteH1K0VxVJMsAPEeBla9V4ABMAALixB22q0OFIUFAIFNmCf5ZDX0nW4l1RNCZgUMXPWBPPljcWnwwveg5n4lUc9bMghoJ2a5phRuGPd6NOdo2YQjsf/wGWvIok864ETUFsC5dTnzCpkKjBWCBfs2MnBtqPniyiqp1QcRBKwSrNy/j3OV1SxIsKHdr8S0DihpOOHouoiYT27aIFkLB2zqouPylDQp7A/IJ1H3xEYnADw10FpJmw5u3CZ6bpkI3SdCk3W04TRE1pO/nnA6DLHVO59GSpA+Iwvpsgh4hnTv8hQVo042To2pE//naWLlxJRCKtMj2y+OAWSbdr79ybawvacoQIMPrtF+gYqGHzJTPGr2C7NVFyfVQnP1ayGhWWyTyXrVuGLj1jUkpvqzvlBxh1MOCHgqSnvr89oaT25rj+zz55D4CriEEnAs/XRKrb2MmFg==; 31:gv8jJTR3PBB143ddwh7TxwIfXrPloN/xlufLNi887kKIiEuHl+lkAaJ3e9i/xoh8Z1augRM6MFW+gUbyXIhLEImUqJ2PJcSXAAbtFSElwPErLx7J7yDwkg2PQoLMY5H8coEqcrhAGkkoDHwTlU0HlrV7Mn8VDAatjK9/g7tKDjz6DqN3NuAscFRhifZiN0tMSL2H2w7rPpgTtCmvqhXIvCqtQwG9XBVn2gsVwLIVxss= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13015025)(13023025)(13024025)(13018025)(13017025)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BN6PR03MB2434; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2434; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2434; 4:mz7jrgFK/T5qJ++R4LHdwQI3dmvItq9I5EbGzyWOrEMMmDO/OKfmBoxFu3IXbRELHgedIQaGoETecV7izAUC4r8utI8Jyi8R6+jCtsLzacH3daR5s0cFXJDAbUgycQtoGG+C2eBzZe3yZF+36H//M2GvPu/aXA3fqiLhGqHKGAJE8uCTQNQ5dsQIaFAusgNH3amcGYp3usDd9lSKRmI1II+LpuHzEv/czqaGMdfQF5kk+POqGiGq4XUhRMANJneEMboHxzw5Bj9yUc7Bs4HucVflWYemqhTBEz7mz+H6ZyTQl+BiYyeNnjPmmyvrYXvvYZhjrxfUDBsSWP8915jm4nt8QCAo0XVaVokVGLsP6/O843+Thgwd9JcFcB8w2e0UYzthyo5VPglOwPpFcy265yyca0H9ZLq7jCY1DJuWEFYIVBZp92+TqXH0m5fU3vpLb0ZcX/9m6yqkG7onhDPUAA7u153Jjrybs8LC2e3/EUvcTQl1b/RKoLH1dLPocDO63O6TKlRd1J6dZ4at3z+5LxwpbekVIMZjoy49EB4hjdQ= X-Forefront-PRVS: 00514A2FE6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2434; 23:3BVp8LLhISXs0qX9zJ5s5b5SAbFoenMjGTW5uMyvY?= =?us-ascii?Q?5PLapu9RJc8493lJ+HoELHQQjwZaDJhLNAV7R6qfYJzQZRNWwHhJCj2Pdpsy?= =?us-ascii?Q?bxYVIwxl3vRGaNZRFBUD0PZhf26YHAkSjwAwqNagDZ86KUTuInJt5SehzTgY?= =?us-ascii?Q?UfZNaYy1hppyV75JYwKtoY8EaZQBUAjrBvK3twc07zx576IAYIbEwRrph5eR?= =?us-ascii?Q?x3ElBk4wM3p7Z2shBLlXyxr2H4etc0JpYzCVHhWCfsgUCcvOgTWPR+k2O75Z?= =?us-ascii?Q?tm5HRVNSmK8FgT8RNL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cc76?= =?us-ascii?Q?em8EEJ/nTuYnq7yW7Dwl6/XGjscROWAtSUP?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2434; 6:ea6WhrJmthwBcGfvxAKutjga8UUl3lbdjYw+mXS2YZxh7fnyBzM5NojrylaEj7Y2i1Y3SbHFETuqOA/Opv3w7sq+x0PllAQpRKdA0lbrs6OY+dT3NZX/IHjcW1g5cQSVDwv0hiuGDCZv0umvCGZXFIuXdY1ajIl1oB8xdDtAqSLDxxDyPiEILCjJP7ARyL+peH8l7kNpNf8v45+OkielKJyHQOKf9ohId3TLjdxpva53vTq/FBd9jY0wuWkM1icSvnN0RsB/akF9ldH+45+jZNlGAv3X6CZ5o7JTvtdhg4k=; 5:Eb8/4Fdmxmz7HwCWnyqhIx/dyRej2uGfIQU7Q3+7/m36XqvYxAT7jVpN6dRRHKbfAyrd17rFzR5jMFPPiRfd7hT5tuRoWmpuhpMV+b5dv4WRZAq92KI4gKkqsBnwt8c15aUaQq1TN3DYUqZRn3IDaPH1vlpfYbAqfPzSRU94Xhg=; 24:EM8fE4wtvdgMedXOrR8mQ6eXC+WfoJqKPy83QXaBAnFig73TW5hac2tm5wRB5jaFzyMq7IPIhwX+HXO/TjK3c27Fwis6pDSl0CtHfBbud0Q=; 7:2euMKPvN+6PsjTK+diItzCm8IGY5tpKQHsYn1qNlVAoUnJt3HbfSSXcgRKnTejd0gisQiBO0NImtO+r/MKOkBMNb4vgeF0t+KT++brPDLZA1yVwJ8lWIIxlwfHwZqym/YlNCRQHzBJU9EIhSkMLLNgUVLvbTRRj8LUBbP9qYoPF/nF2OSo7W9tPjp3+tsOwuztKYnNvcF0+plkEOwAxpPGzQOtmk7TI/w7gICXrQHflk+wTN5kSom3RibxdQz8IC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2016 11:01:41.9941 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2434 Subject: [dpdk-dev] [PATCH v2 04/14] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 11:01:46 -0000 This option has the same meaning for the SoC infra as the --no-pci for the PCI infra. Signed-off-by: Jan Viktorin Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_options.c | 5 +++++ lib/librte_eal/common/eal_internal_cfg.h | 1 + lib/librte_eal/common/eal_options.h | 2 ++ 3 files changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c index 1a1bab3..d97cf0a 100644 --- a/lib/librte_eal/common/eal_common_options.c +++ b/lib/librte_eal/common/eal_common_options.c @@ -85,6 +85,7 @@ eal_long_options[] = { {OPT_NO_HPET, 0, NULL, OPT_NO_HPET_NUM }, {OPT_NO_HUGE, 0, NULL, OPT_NO_HUGE_NUM }, {OPT_NO_PCI, 0, NULL, OPT_NO_PCI_NUM }, + {OPT_NO_SOC, 0, NULL, OPT_NO_SOC_NUM }, {OPT_NO_SHCONF, 0, NULL, OPT_NO_SHCONF_NUM }, {OPT_PCI_BLACKLIST, 1, NULL, OPT_PCI_BLACKLIST_NUM }, {OPT_PCI_WHITELIST, 1, NULL, OPT_PCI_WHITELIST_NUM }, @@ -855,6 +856,10 @@ eal_parse_common_option(int opt, const char *optarg, conf->no_pci = 1; break; + case OPT_NO_SOC_NUM: + conf->no_soc = 1; + break; + case OPT_NO_HPET_NUM: conf->no_hpet = 1; break; diff --git a/lib/librte_eal/common/eal_internal_cfg.h b/lib/librte_eal/common/eal_internal_cfg.h index 5f1367e..3a98e94 100644 --- a/lib/librte_eal/common/eal_internal_cfg.h +++ b/lib/librte_eal/common/eal_internal_cfg.h @@ -67,6 +67,7 @@ struct internal_config { unsigned hugepage_unlink; /**< true to unlink backing files */ volatile unsigned xen_dom0_support; /**< support app running on Xen Dom0*/ volatile unsigned no_pci; /**< true to disable PCI */ + volatile unsigned no_soc; /**< true to disable SoC */ volatile unsigned no_hpet; /**< true to disable HPET */ volatile unsigned vmware_tsc_map; /**< true to use VMware TSC mapping * instead of native TSC */ diff --git a/lib/librte_eal/common/eal_options.h b/lib/librte_eal/common/eal_options.h index a881c62..ba1e704 100644 --- a/lib/librte_eal/common/eal_options.h +++ b/lib/librte_eal/common/eal_options.h @@ -69,6 +69,8 @@ enum { OPT_NO_HUGE_NUM, #define OPT_NO_PCI "no-pci" OPT_NO_PCI_NUM, +#define OPT_NO_SOC "no-soc" + OPT_NO_SOC_NUM, #define OPT_NO_SHCONF "no-shconf" OPT_NO_SHCONF_NUM, #define OPT_SOCKET_MEM "socket-mem" -- 2.7.4