[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-25 Thread Bruce Richardson
On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > From: Didier Pallard > > In current version, used cores can only be specified using a bitmask. > It will now be possible to specify cores in 2 different ways: > - Using a bitmask (-c [0x]nnn): bitmask must be in hex format > - Usi

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Burakov, Anatoly
> On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote: > > Burn, it is not like we are going to add a huge number of new options in the > future and run out of letters. > > > No, but what about the application authors that need to accomodate all of > the dpdk command line options as w

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Thomas Monjalon
Hi Bruce and Neil, 2014-11-24 11:28, Bruce Richardson: > On Sat, Nov 22, 2014 at 08:35:17PM -0500, Neil Horman wrote: > > On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > > > From: Didier Pallard > > > > > > In current version, used cores can only be specified using a bitmask.

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Burakov, Anatoly
> > > > Do you want to burn an option letter on that? It seems like it > > > > might be better to search the string for 0x and base the selection > > > > of bitmap of list parsing based on its presence or absence. > > > > It was the initial proposal (in April): > > http://dpdk.org/ml/archives/

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Bruce Richardson
On Mon, Nov 24, 2014 at 02:19:16PM +0100, Thomas Monjalon wrote: > Hi Bruce and Neil, > > 2014-11-24 11:28, Bruce Richardson: > > On Sat, Nov 22, 2014 at 08:35:17PM -0500, Neil Horman wrote: > > > On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > > > > From: Didier Pallard > > >

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Neil Horman
On Mon, Nov 24, 2014 at 05:11:16PM +, Burakov, Anatoly wrote: > > On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote: > > > Burn, it is not like we are going to add a huge number of new options in > > > the > > future and run out of letters. > > > > > No, but what about the appl

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Neil Horman
On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote: > Burn, it is not like we are going to add a huge number of new options in the > future and run out of letters. > No, but what about the application authors that need to accomodate all of the dpdk command line options as well? Nei

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Bruce Richardson
On Sat, Nov 22, 2014 at 08:35:17PM -0500, Neil Horman wrote: > On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > > From: Didier Pallard > > > > In current version, used cores can only be specified using a bitmask. > > It will now be possible to specify cores in 2 different ways:

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Roger Keith Wiles
> On Nov 24, 2014, at 11:04 AM, Neil Horman wrote: > > On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote: >> Burn, it is not like we are going to add a huge number of new options in the >> future and run out of letters. >> > No, but what about the application authors that need

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Roger Keith Wiles
Burn, it is not like we are going to add a huge number of new options in the future and run out of letters. > On Nov 24, 2014, at 8:52 AM, Venkatesan, Venky intel.com> wrote: > > > On 11/24/2014 5:28 AM, Bruce Richardson wrote: >> On Mon, Nov 24, 2014 at 02:19:16PM +0100, Thomas Monjalon wrote

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Neil Horman
On Mon, Nov 24, 2014 at 01:37:03PM +, Burakov, Anatoly wrote: > > > > > Do you want to burn an option letter on that? It seems like it > > > > > might be better to search the string for 0x and base the selection > > > > > of bitmap of list parsing based on its presence or absence. > > > > > >

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-24 Thread Venkatesan, Venky
On 11/24/2014 5:28 AM, Bruce Richardson wrote: > On Mon, Nov 24, 2014 at 02:19:16PM +0100, Thomas Monjalon wrote: >> Hi Bruce and Neil, >> >> 2014-11-24 11:28, Bruce Richardson: >>> On Sat, Nov 22, 2014 at 08:35:17PM -0500, Neil Horman wrote: On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas M

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-22 Thread Thomas Monjalon
From: Didier Pallard In current version, used cores can only be specified using a bitmask. It will now be possible to specify cores in 2 different ways: - Using a bitmask (-c [0x]nnn): bitmask must be in hex format - Using a list in following format: -l [-c2][,c3[-c4],...] The letter -l can stan

[dpdk-dev] [PATCH 07/10] eal: add core list input format

2014-11-22 Thread Neil Horman
On Sat, Nov 22, 2014 at 10:43:39PM +0100, Thomas Monjalon wrote: > From: Didier Pallard > > In current version, used cores can only be specified using a bitmask. > It will now be possible to specify cores in 2 different ways: > - Using a bitmask (-c [0x]nnn): bitmask must be in hex format > - Usi