[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-12 Thread Liang, Cunming
Hi, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Thursday, February 12, 2015 1:22 AM > To: Liang, Cunming; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread > > Hi, > > On

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-11 Thread Olivier MATZ
Hi, On 02/11/2015 07:25 AM, Liang, Cunming wrote: >>> + tim_lcore = rte_get_next_lcore( >>> + priv_timer[lcore_id].prev_lcore, >>> + 0, 1); >>> + priv_timer[lcore_id].prev_lcore = tim_lcore; >>> + }

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-11 Thread Liang, Cunming
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, February 11, 2015 1:45 AM > To: Liang, Cunming; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread > > Hi, > > On 0

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-10 Thread Olivier MATZ
Hi, On 02/02/2015 03:02 AM, Cunming Liang wrote: > Allow to setup timers only for EAL (lcore) threads (__lcore_id < > MAX_LCORE_ID). > E.g. ? dynamically created thread will be able to reset/stop timer for lcore > thread, > but it will be not allowed to setup timer for itself or another

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-02 Thread Cunming Liang
Allow to setup timers only for EAL (lcore) threads (__lcore_id < MAX_LCORE_ID). E.g. ? dynamically created thread will be able to reset/stop timer for lcore thread, but it will be not allowed to setup timer for itself or another non-lcore thread. rte_timer_manage() for non-lcore thread would