Hi Shankari,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shankari
> Vaidyalingam
> Sent: Sunday, February 15, 2015 2:46 AM
> To: dev at 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

Reply via email to