[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-06-15 Thread Thomas Monjalon
> > Needed to run as non-root but with higher memory allocations, and > > removes a constraint on no-huge mode being limited to 64M. A usage > > example is if running with file input with the pcap PMD, which can be > > done as non-root after this patch via e.g., > > > > ./test-dpdk --no-huge -m

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-06-15 Thread David Marchand
On Wed, May 27, 2015 at 11:30 AM, Simon Kagstrom < simon.kagstrom at netinsight.net> wrote: > Needed to run as non-root but with higher memory allocations, and > removes a constraint on no-huge mode being limited to 64M. A usage > example is if running with file input with the pcap PMD, which can

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-05-27 Thread Simon Kagstrom
On Wed, 27 May 2015 09:06:46 -0400 Thomas F Herbert wrote: > I just tried applying v2 of the patch to master: > git apply ../patches/eal_common_options.patch > error: patch failed: lib/librte_eal/common/eal_common_options.c:850 > error: lib/librte_eal/common/eal_common_options.c: patch does not ap

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-05-27 Thread Mcnamara, John
> -Original Message- > From: Thomas F Herbert [mailto:therbert at redhat.com] > Sent: Wednesday, May 27, 2015 2:07 PM > To: Simon Kagstrom; dev at dpdk.org; david.marchand at 6wind.com; Mcnamara, > John > Subject: Re: [dpdk-dev] [PATCH v2] eal: Allow combinin

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-05-27 Thread Simon Kagstrom
Needed to run as non-root but with higher memory allocations, and removes a constraint on no-huge mode being limited to 64M. A usage example is if running with file input with the pcap PMD, which can be done as non-root after this patch via e.g., ./test-dpdk --no-huge -m 1024 -l 0,1 -n3 --vdev

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-05-27 Thread Thomas F Herbert
On 5/27/15 9:29 AM, Simon Kagstrom wrote: > On Wed, 27 May 2015 09:06:46 -0400 > Thomas F Herbert wrote: >> I just tried applying v2 of the patch to master: >> git apply ../patches/eal_common_options.patch >> error: patch failed: lib/librte_eal/common/eal_common_options.c:850 >> error: lib/librt

[dpdk-dev] [PATCH v2] eal: Allow combining -m and --no-huge

2015-05-27 Thread Thomas F Herbert
On 5/27/15 5:30 AM, Simon Kagstrom wrote: > Needed to run as non-root but with higher memory allocations, and > removes a constraint on no-huge mode being limited to 64M. A usage > example is if running with file input with the pcap PMD, which can be > done as non-root after this patch via e.g.,