Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Thomas Monjalon
30/06/2017 15:24, Van Haaren, Harry: > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > From: "Van Haaren, Harry" > > > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > > > From: "Van Haaren, Harry" > > > > > > > > > > > I don't think providing a remote-launch API is ac

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, June 30, 2017 2:21 PM > To: Van Haaren, Harry > Cc: Richardson, Bruce ; dev@dpdk.org; > tho...@monjalon.net; > Wiles, Keith > Subject: Re: Service lcores and Application lcores > > -Original Message- > > Date: F

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Jerin Jacob
-Original Message- > Date: Fri, 30 Jun 2017 13:08:26 + > From: "Van Haaren, Harry" > To: Jerin Jacob > CC: "Richardson, Bruce" , "dev@dpdk.org" > , "tho...@monjalon.net" , "Wiles, > Keith" > Subject: RE: Service lcores and Application lcores > > > From: Jerin Jacob [mailto:jerin.j

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, June 30, 2017 2:04 PM > To: Van Haaren, Harry > Cc: Thomas Monjalon ; dev@dpdk.org; Wiles, Keith > ; Richardson, Bruce > Subject: Re: Service lcores and Application lcores > > -Original Message- > > Date: Fri, 30

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, June 30, 2017 1:52 PM > To: Van Haaren, Harry > Cc: Richardson, Bruce ; dev@dpdk.org; > tho...@monjalon.net; > Wiles, Keith > Subject: Re: Service lcores and Application lcores > > -Original Message- > > Date: F

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Jerin Jacob
-Original Message- > Date: Fri, 30 Jun 2017 11:14:39 + > From: "Van Haaren, Harry" > To: Thomas Monjalon > CC: "dev@dpdk.org" , 'Jerin Jacob' > , "Wiles, Keith" , > "Richardson, Bruce" > Subject: RE: Service lcores and Application lcores > > > From: Thomas Monjalon [mailto:tho...@

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Jerin Jacob
-Original Message- > Date: Fri, 30 Jun 2017 10:00:18 + > From: "Van Haaren, Harry" > To: Jerin Jacob , "Richardson, Bruce" > > CC: "dev@dpdk.org" , "tho...@monjalon.net" > , "Wiles, Keith" > Subject: RE: Service lcores and Application lcores > > > From: Jerin Jacob [mailto:jerin.j

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, June 30, 2017 11:39 AM > To: Van Haaren, Harry > Cc: dev@dpdk.org; 'Jerin Jacob' ; Wiles, Keith > ; Richardson, Bruce > Subject: Re: Service lcores and Application lcores > > 30/06/2017 12:18, Van Haaren, Harry: > > From: Thoma

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Thomas Monjalon
30/06/2017 12:18, Van Haaren, Harry: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 30/06/2017 10:52, Van Haaren, Harry: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > 29/06/2017 18:35, Van Haaren, Harry: > > > > > 3) The problem; > > > > >If a service core runs the

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, June 30, 2017 10:29 AM > To: Van Haaren, Harry > Cc: dev@dpdk.org; 'Jerin Jacob' ; Wiles, Keith > ; Richardson, Bruce > Subject: Re: Service lcores and Application lcores > > 30/06/2017 10:52, Van Haaren, Harry: > > From: Thoma

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, June 30, 2017 5:45 AM > To: Richardson, Bruce > Cc: Van Haaren, Harry ; dev@dpdk.org; > tho...@monjalon.net; > Wiles, Keith > Subject: Re: Service lcores and Application lcores > > -Original Message- > > Date: T

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Thomas Monjalon
30/06/2017 10:52, Van Haaren, Harry: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 29/06/2017 18:35, Van Haaren, Harry: > > > 3) The problem; > > >If a service core runs the SW PMD schedule() function (option 2) *AND* > > >the application lcore runs schedule() func (option 1), th

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-30 Thread Van Haaren, Harry
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, June 29, 2017 9:19 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; 'Jerin Jacob' ; Wiles, Keith > ; Richardson, Bruce > Subject: Re: Service lcores and Application lcores > > 29/06/2017 18:35, Van Haaren, Harry: > > 3) The pro

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Jerin Jacob
-Original Message- > Date: Thu, 29 Jun 2017 16:57:08 +0100 > From: Bruce Richardson > To: "Van Haaren, Harry" > CC: "dev@dpdk.org" , 'Jerin Jacob' > , "tho...@monjalon.net" > , "Wiles, Keith" > Subject: Re: Service lcores and Application lcores > User-Agent: Mutt/1.8.1 (2017-04-11) >

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Thomas Monjalon
29/06/2017 18:35, Van Haaren, Harry: > 3) The problem; >If a service core runs the SW PMD schedule() function (option 2) *AND* >the application lcore runs schedule() func (option 1), the result is that >two threads are concurrently running a multi-thread unsafe function. Which function

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Van Haaren, Harry
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, June 29, 2017 4:16 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; 'Jerin Jacob' ; Wiles, Keith > ; Richardson, Bruce > Subject: Re: Service lcores and Application lcores > > 29/06/2017 16:36, Van Haaren, Harry: > > The topic

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Bruce Richardson
On Thu, Jun 29, 2017 at 03:36:04PM +0100, Van Haaren, Harry wrote: > Hi All, > > > The recently posted service cores patchset[1], introduces service lcores to > run services for DPDK applications. Services are just an ordinary function > for eg: eventdev scheduling, NIC RX, statistics and monit

Re: [dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Thomas Monjalon
29/06/2017 16:36, Van Haaren, Harry: > The topic of discussion in this thread is how we can ensure > that application lcores do not interfere with service cores. Please could you give more details on the issue? I think you need to clearly explain the 3 types of cores: - DPDK mainloop

[dpdk-dev] Service lcores and Application lcores

2017-06-29 Thread Van Haaren, Harry
Hi All, The recently posted service cores patchset[1], introduces service lcores to run services for DPDK applications. Services are just an ordinary function for eg: eventdev scheduling, NIC RX, statistics and monitoring, etc. A service is just a callback function, which a core invokes. An at