DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] librte_eal: Allow combining --no-huge with -m XXX
@ 2015-03-23 14:33 Simon Kagstrom
  2015-03-27 12:44 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Kagstrom @ 2015-03-23 14:33 UTC (permalink / raw)
  To: dev

Useful to run applications in usermode via a test driver.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
---
Not sure if there are other implications of this, so please check!

 lib/librte_eal/common/eal_common_options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/common/eal_common_options.c b/lib/librte_eal/common/eal_common_options.c
index 4319549..af865f5 100644
--- a/lib/librte_eal/common/eal_common_options.c
+++ b/lib/librte_eal/common/eal_common_options.c
@@ -850,7 +850,7 @@ eal_check_common_options(struct internal_config *internal_cfg)
 		return -1;
 	}
 	if (internal_cfg->no_hugetlbfs &&
-			(mem_parsed || internal_cfg->force_sockets == 1)) {
+			(internal_cfg->force_sockets == 1)) {
 		RTE_LOG(ERR, EAL, "Options -m or --"OPT_SOCKET_MEM" cannot "
 			"be specified together with --"OPT_NO_HUGE"\n");
 		return -1;
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-27 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 14:33 [dpdk-dev] [PATCH] librte_eal: Allow combining --no-huge with -m XXX Simon Kagstrom
2015-03-27 12:44 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).