From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: Shankari Vaidyalingam <shankari.v2k6@gmail.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Query on portmask config
Date: Mon, 16 Feb 2015 10:01:02 +0000 [thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8972725F6DA@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <CAGeyXNfKw=71n7VRZLpE6XQiAax9EEgQUXEiY2ZJwd_qJM8iaA@mail.gmail.com>
Hi Shankari,
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Shankari
> Vaidyalingam
> Sent: Sunday, February 15, 2015 2:46 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] Query on portmask config
>
> Hi,
>
> I'm new to DPDK.
> Would like to know how to determine the portmask for a given
> configuration.
> Does it depend on the number of cores configured
Usually portmask is parsed with the -p option (depends on the app), followed by an hexadecimal value.
So, for instance, -p 0x5 will use ports 0 and 2 from the ports bound to one of the DPDK drivers.
Regarding to your second question, number of ports are independent of number of cores.
A single core can handle several ports, and even several cores can handle a single port (using different queues).
Regards,
Pablo
>
> Regards
> Shankari.V
prev parent reply other threads:[~2015-02-16 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 2:45 Shankari Vaidyalingam
2015-02-16 10:01 ` De Lara Guarch, Pablo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E115CCD9D858EF4F90C690B0DCB4D8972725F6DA@IRSMSX108.ger.corp.intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=dev@dpdk.org \
--cc=shankari.v2k6@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).