Skip to content

Using EAL Parameters #80

Open
Open

Description

@KirklandWireless

Hi

I wanted to know if it is possible to use dpdk's EAL arguments with these functions. For example I want to use --socket-mem ,-b (blacklist ports), -n (memory channels), and --xen-dom0. I experimented a little bit but couldn't find anything. I think the -f 'config' command does not allow for these parameters either correct?

Activity

  1. apanda commented on Sep 7, 2017

    @apanda
    Member

    Hi
    Some of these you can control already:

    • --socket-mem is the same as pool_size

    • -b we implicitly blacklist any port that is not explicitly specified either in the config file or in a commandline parameter to the program.

    The rest are currently not, in particular -n is currently hardcoded to 4 (https://github.com/NetSys/NetBricks/blob/master/native/init.c#L126) and I have never used xen-dom0 and hence have no support for it. If you want to extend config_reader.rs and init.c I'd be happy to incorporate configuration for this I'd be happy to incorporate that. I can also try and push a change incorporating this later if it is being problematic, just let me know.

    Thanks for using NetBricks, and sorry for the delay in getting back to you.

  2. self-assigned this
    on Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions