Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2017-02-19 Thread Forrest Shi
Hi Bala, I think the example is evolved individually, especially we want the simple case in one file only. This case mainly demos how to run multiple background TM threads with traffic management. So if needed, I can only show one user scenario like speed/bandwidth limitation here. thanks,

Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2017-01-17 Thread Bala Manoharan
There is a lot of code duplication in this example rom example/traffic_mgmt/odp_traffic_mgmt.c file. Maybe the common code should be moved or we should reduce the scope of this example. Regards, Bala On 19 December 2016 at 11:31, wrote: > From: Xuelin Shi

Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2016-12-30 Thread Barry Spinney
that involved my daughter. Sorry Barry. -Original Message- From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Monday, December 19, 2016 10:03 AM To: Forrest Shi; Barry Spinney Cc: Bala Manoharan; lng-odp-forward Subject: Re: [lng-odp][PATCH] example: introducing multi-threaded

Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2016-12-19 Thread Barry Spinney
day, December 19, 2016 10:03 AM To: Forrest Shi; Barry Spinney Cc: Bala Manoharan; lng-odp-forward Subject: Re: [lng-odp][PATCH] example: introducing multi-threaded traffic management case +cc Barry. Barry: would you also like to take a look at this? Thanks. On Mon, Dec 19, 2016 at 12:01

Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2016-12-19 Thread Bill Fischofer
+cc Barry. Barry: would you also like to take a look at this? Thanks. On Mon, Dec 19, 2016 at 12:01 AM, wrote: > From: Xuelin Shi > > introduce a new example of traffic management with following features: > - multiple TM threads: one TM thread

Re: [lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2016-12-18 Thread Forrest Shi
Hi, this patch is a followup of http://patches.opendataplane.org/patch/7515/ to keep the original traffic management example structure and keep it small, this multi-thread version is going to make a new example. Thanks, Forrest On 19 December 2016 at 14:01, wrote: >

[lng-odp] [PATCH] example: introducing multi-threaded traffic management case

2016-12-18 Thread forrest.shi
From: Xuelin Shi introduce a new example of traffic management with following features: - multiple TM threads: one TM thread for each pktio - for small system less than 4 cores, only one TM thread created. - receiving packets from multiple pktios other than