[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-07-01 Thread Tan, Jianfeng
Hi Thomas, > > > > > > Looking at your special case, if the user did set an isolcpus option > > > for another use, with no -c/-l, I understand the dpdk application > > > won't care too much about it. > > > So, this seems like somehow rude to the rest of the system and > unwanted. > > > > The case

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-06-30 Thread Thomas Monjalon
2016-05-19 10:25, Tan, Jianfeng: > On 5/18/2016 8:46 PM, David Marchand wrote: > > On Wed, Mar 9, 2016 at 2:05 PM, Panu Matilainen > > wrote: > >> On 03/08/2016 07:38 PM, Tan, Jianfeng wrote: > >>> On 3/8/2016 4:54 PM, Panu Matilainen wrote: > On 03/04/2016 12:05 PM, Jianfeng Tan wrote: >

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-05-19 Thread Tan, Jianfeng
Hi David, On 5/18/2016 8:46 PM, David Marchand wrote: > Hello Jianfeng, > > On Wed, Mar 9, 2016 at 2:05 PM, Panu Matilainen > wrote: >> On 03/08/2016 07:38 PM, Tan, Jianfeng wrote: >>> Hi Panu, >>> >>> On 3/8/2016 4:54 PM, Panu Matilainen wrote: On 03/04/2016 12:05 PM, Jianfeng Tan wrote:

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-05-18 Thread David Marchand
Hello Jianfeng, On Wed, Mar 9, 2016 at 2:05 PM, Panu Matilainen wrote: > On 03/08/2016 07:38 PM, Tan, Jianfeng wrote: >> >> Hi Panu, >> >> On 3/8/2016 4:54 PM, Panu Matilainen wrote: >>> >>> On 03/04/2016 12:05 PM, Jianfeng Tan wrote: This patch adds option, --avail-cores, to use

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-04-26 Thread Tan, Jianfeng
Hi, Since some guys are asking about the status of this patch, I'd like to ping if anyone still has concerns. Current conclusion is: with option --avail-cores. Thanks, Jianfeng On 3/4/2016 6:05 PM, Jianfeng Tan wrote: > This patch adds option, --avail-cores, to use lcores which are available >

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-10 Thread Tan, Jianfeng
On 3/10/2016 3:33 AM, Ananyev, Konstantin wrote: > >> On 3/8/2016 4:54 PM, Panu Matilainen wrote: >>> On 03/04/2016 12:05 PM, Jianfeng Tan wrote: This patch adds option, --avail-cores, to use lcores which are available by calling

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-10 Thread Tan, Jianfeng
antin wrote: >>>>>> -Original Message----- >>>>>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tan, Jianfeng >>>>>> Sent: Wednesday, March 09, 2016 1:53 PM >>>>>> To: Panu Matilainen; dev at dpdk.org >>>&

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Tan, Jianfeng
Hi Konstantin, On 3/9/2016 10:44 PM, Ananyev, Konstantin wrote: > >> -Original Message- >> From: Tan, Jianfeng >> Sent: Wednesday, March 09, 2016 2:17 PM >> To: Ananyev, Konstantin; Panu Matilainen; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] eal: a

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Tan, Jianfeng
On 3/9/2016 10:01 PM, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tan, Jianfeng >> Sent: Wednesday, March 09, 2016 1:53 PM >> To: Panu Matilainen; dev at dpdk.org >> Subject: Re: [dpdk-dev

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Tan, Jianfeng
On 3/9/2016 9:05 PM, Panu Matilainen wrote: > On 03/08/2016 07:38 PM, Tan, Jianfeng wrote: >> Hi Panu, >> >> On 3/8/2016 4:54 PM, Panu Matilainen wrote: >>> On 03/04/2016 12:05 PM, Jianfeng Tan wrote: This patch adds option, --avail-cores, to use lcores which are available by

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Ananyev, Konstantin
> On 3/8/2016 4:54 PM, Panu Matilainen wrote: > > On 03/04/2016 12:05 PM, Jianfeng Tan wrote: > >> This patch adds option, --avail-cores, to use lcores which are > >> available > >> by calling pthread_getaffinity_np() to narrow down detected cores >

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Ananyev, Konstantin
Hi Jianfeng, > -Original Message- > From: Tan, Jianfeng > Sent: Wednesday, March 09, 2016 2:56 PM > To: Ananyev, Konstantin; Panu Matilainen; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores > > Hi Konstantin, >

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Panu Matilainen
On 03/08/2016 07:38 PM, Tan, Jianfeng wrote: > Hi Panu, > > On 3/8/2016 4:54 PM, Panu Matilainen wrote: >> On 03/04/2016 12:05 PM, Jianfeng Tan wrote: >>> This patch adds option, --avail-cores, to use lcores which are available >>> by calling pthread_getaffinity_np() to narrow down detected cores

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Ananyev, Konstantin
> -Original Message- > From: Tan, Jianfeng > Sent: Wednesday, March 09, 2016 2:17 PM > To: Ananyev, Konstantin; Panu Matilainen; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores > > > > On 3/9/2016 10:01 PM

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tan, Jianfeng > Sent: Wednesday, March 09, 2016 1:53 PM > To: Panu Matilainen; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores > > >

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-09 Thread Tan, Jianfeng
Hi Panu, On 3/8/2016 4:54 PM, Panu Matilainen wrote: > On 03/04/2016 12:05 PM, Jianfeng Tan wrote: >> This patch adds option, --avail-cores, to use lcores which are available >> by calling pthread_getaffinity_np() to narrow down detected cores before >> parsing coremask (-c), corelist (-l), and

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-08 Thread Panu Matilainen
On 03/04/2016 12:05 PM, Jianfeng Tan wrote: > This patch adds option, --avail-cores, to use lcores which are available > by calling pthread_getaffinity_np() to narrow down detected cores before > parsing coremask (-c), corelist (-l), and coremap (--lcores). > > Test example: > $ taskset 0xc

[dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores

2016-03-04 Thread Jianfeng Tan
This patch adds option, --avail-cores, to use lcores which are available by calling pthread_getaffinity_np() to narrow down detected cores before parsing coremask (-c), corelist (-l), and coremap (--lcores). Test example: $ taskset 0xc ./examples/helloworld/build/helloworld \