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

Mcnamara, John john.mcnamara at intel.com
Wed May 27 15:27:24 CEST 2015



> -----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 combining -m and --no-huge
> 
> 
> 
> 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.,
> Simon,
> 
> 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 apply

Hi Thomas,

I just tried it with the HEAD via pwclient and it applies cleanly:

    $ git pull origin
    Already up-to-date.

    $ pwclient git-am 4915
    Applying patch #4915 using 'git am'
    Description: [dpdk-dev,v2] eal: Allow combining -m and --no-huge
    Applying: eal: Allow combining -m and --no-huge

John.
-- 





More information about the dev mailing list