Re: quick thread in DLB2

2023-09-14 Thread Mattias Rönnblom
On 2023-09-13 22:56, Honnappa Nagarahalli wrote: -Original Message- From: Mattias Rönnblom Sent: Wednesday, September 13, 2023 10:48 AM To: Sevincer, Abdullah ; Stephen Hemminger ; tho...@monjalon.net Cc: dev@dpdk.org; Tyler Retzlaff Subject: Re: quick thread in DLB2 On 2023-09-11

RE: quick thread in DLB2

2023-09-13 Thread Honnappa Nagarahalli
> -Original Message- > From: Mattias Rönnblom > Sent: Wednesday, September 13, 2023 10:48 AM > To: Sevincer, Abdullah ; Stephen Hemminger > ; tho...@monjalon.net > Cc: dev@dpdk.org; Tyler Retzlaff > Subject: Re: quick thread in DLB2 > > On 2023-09-11 16:2

Re: quick thread in DLB2

2023-09-13 Thread Mattias Rönnblom
: Friday, September 8, 2023 12:28 AM To: Sevincer, Abdullah ; Stephen Hemminger ; Thomas Monjalon Cc: dev@dpdk.org; Tyler Retzlaff Subject: Re: quick thread in DLB2 On 2023-09-08 00:09, Sevincer, Abdullah wrote: Hi Stephen, It is probing ports for best CPU. Yes it collects cycles. We may rework in

RE: quick thread in DLB2

2023-09-11 Thread Sevincer, Abdullah
Mattias, Yes that’s correct. -Original Message- From: Mattias Rönnblom Sent: Friday, September 8, 2023 12:28 AM To: Sevincer, Abdullah ; Stephen Hemminger ; Thomas Monjalon Cc: dev@dpdk.org; Tyler Retzlaff Subject: Re: quick thread in DLB2 On 2023-09-08 00:09, Sevincer, Abdullah

Re: quick thread in DLB2

2023-09-08 Thread Mattias Rönnblom
suggestions. -Original Message- From: Stephen Hemminger Sent: Wednesday, September 6, 2023 12:45 PM To: Thomas Monjalon Cc: Sevincer, Abdullah ; dev@dpdk.org; Tyler Retzlaff Subject: Re: quick thread in DLB2 On Fri, 01 Sep 2023 16:08:48 +0200 Thomas Monjalon wrote: Hello Abdullah, In

Re: quick thread in DLB2

2023-09-07 Thread Stephen Hemminger
On Thu, 7 Sep 2023 22:09:06 + "Sevincer, Abdullah" wrote: > Hi Stephen, > It is probing ports for best CPU. Yes it collects cycles. We may rework in > the future. > Open to suggestions. Why is this device a special snowflake? All threading should be using the existing infrastructure of ser

RE: quick thread in DLB2

2023-09-07 Thread Sevincer, Abdullah
Subject: Re: quick thread in DLB2 On Fri, 01 Sep 2023 16:08:48 +0200 Thomas Monjalon wrote: > Hello Abdullah, > > In the DLB2 code, I see a thread is created for a single operation: > In drivers/event/dlb2/pf/base/dlb2_resource.c > pthread_create(&pthread, NULL, &a

Re: quick thread in DLB2

2023-09-06 Thread Stephen Hemminger
On Fri, 01 Sep 2023 16:08:48 +0200 Thomas Monjalon wrote: > Hello Abdullah, > > In the DLB2 code, I see a thread is created for a single operation: > In drivers/event/dlb2/pf/base/dlb2_resource.c > pthread_create(&pthread, NULL, &dlb2_pp_profile_func, &dlb2_thread_data[i]); > and just after: > p

Re: quick thread in DLB2

2023-09-04 Thread Sevincer, Abdullah
Hi Thomas, That's right we need to create threads on specific CPUs. From: Thomas Monjalon Sent: Friday, September 1, 2023 7:09 AM To: Sevincer, Abdullah Cc: dev@dpdk.org ; Tyler Retzlaff Subject: quick thread in DLB2 Hello Abdullah, In the DLB2 code, I

quick thread in DLB2

2023-09-01 Thread Thomas Monjalon
Hello Abdullah, In the DLB2 code, I see a thread is created for a single operation: In drivers/event/dlb2/pf/base/dlb2_resource.c pthread_create(&pthread, NULL, &dlb2_pp_profile_func, &dlb2_thread_data[i]); and just after: pthread_join(pthread, NULL); Can we avoid creating this thread? I guess no