Re: [dpdk-dev] [PATCH v1] rte_timer: add rte_timer_next_ticks

2020-01-19 Thread Thomas Monjalon
20/12/2019 23:43, Carrillo, Erik G: > Hi Stephen, > > I added a comment in-line. With that change, it looks good to me: > > Acked-by: Erik Gabriel Carrillo Applied with below change, thanks. > From: Stephen Hemminger > > > It is useful to know when the next timer will expire when using > >

Re: [dpdk-dev] [PATCH v1] rte_timer: add rte_timer_next_ticks

2019-12-20 Thread Carrillo, Erik G
Hi Stephen, I added a comment in-line. With that change, it looks good to me: Acked-by: Erik Gabriel Carrillo Regards, Erik > -Original Message- > From: Stephen Hemminger > Sent: Monday, December 16, 2019 6:55 PM > To: dev@dpdk.org > Cc: Carrillo, Erik G ; Stephen Hemminger > > Sub

[dpdk-dev] [PATCH v1] rte_timer: add rte_timer_next_ticks

2019-12-16 Thread Stephen Hemminger
It is useful to know when the next timer will expire when using rte_epoll_wait (or sleep when idle). This experimental API provides a hook to query the number of ticks remaining. Signed-off-by: Stephen Hemminger --- v1 - incorporate feedback from old RFC lib/librte_timer/rte_timer.c |