Hi, I have stated the reasoning in couple of weekly calls and this cover letter:
Implementations may be HW limited on how many worker threads can be supported (efficiently). Number of control threads may be only SW limited. When user identifies worker threads (from control threads), an implementation can allocate per thread HW resources efficiently (reserve those to worker threads). -Petri > -----Original Message----- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of ext > Maxim Uvarov > Sent: Monday, June 01, 2015 5:56 PM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [API-NEXT PATCH v2 0/4] Init API and thread type > > On 05/29/15 14:06, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > Ping. > > Petri can you please reply on Bills comment? I think some more info is > needed why do we need that changes. > > Thank you, > Maxim. > > > > >> -----Original Message----- > >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > ext > >> Petri Savolainen > >> Sent: Friday, May 08, 2015 10:07 AM > >> To: lng-odp@lists.linaro.org > >> Subject: [lng-odp] [API-NEXT PATCH v2 0/4] Init API and thread type > >> > >> Introduce thread types: worker and control. Implementations may be HW > >> limited > >> how many worker threads can be supported. Number of control threads may > be > >> only > >> SW limited. > >> > >> Note: This series depends on "example: classifier: remove extra local > >> init" > >> patch. > >> > >> v2: > >> * Rebased > >> * Clean up doxygen documentation in init.h > >> * Changed odp_init_global params to const pointer types > >> > >> > >> Petri Savolainen (4): > >> style: init api: documentation clean up > >> api: init: use const pointer types > >> api: thread: added thread type > >> api: init: added thread type to local init > >> > >> example/classifier/odp_classifier.c | 2 +- > >> example/generator/odp_generator.c | 2 +- > >> example/ipsec/odp_ipsec.c | 2 +- > >> example/packet/odp_pktio.c | 2 +- > >> example/timer/odp_timer_test.c | 2 +- > >> helper/linux.c | 4 +- > >> include/odp/api/init.h | 98 ++++++++++++++++------ > ---- > >> ----- > >> include/odp/api/thread.h | 38 ++++++++++++ > >> platform/linux-generic/odp_init.c | 6 +- > >> test/performance/odp_l2fwd.c | 2 +- > >> test/performance/odp_pktio_perf.c | 2 +- > >> test/performance/odp_scheduling.c | 2 +- > >> test/validation/common/odp_cunit_common.c | 2 +- > >> 13 files changed, 104 insertions(+), 60 deletions(-) > >> > >> -- > >> 2.4.0 > >> > >> _______________________________________________ > >> lng-odp mailing list > >> lng-odp@lists.linaro.org > >> https://lists.linaro.org/mailman/listinfo/lng-odp > > _______________________________________________ > > lng-odp mailing list > > lng-odp@lists.linaro.org > > https://lists.linaro.org/mailman/listinfo/lng-odp > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp