Thanks Dave for the information on calling tw_timer_expire_timers_xxx(tw, now). However i have to make the node type as VLIB_NODE_TYPE_INPUT and set node state to VLIB_NODE_STATE_POLLING for polling to work. is this the right approach?
I have one more query on how to implement per thread timer wheels. Lets I say I have N worker threads and want to have one timer per thread, what are the best ways to achieve this using TW framework. In my prototype the expiry function always lands on main thread. thanks
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13296): https://lists.fd.io/g/vpp-dev/message/13296 Mute This Topic: https://lists.fd.io/mt/32039603/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-