[vpp-dev] timer_expired_callback is not getting called after sometime

2021-03-17 Thread hari_akkin via lists.fd.io
Hi, I have tw implementation and its working fine for sometime and later the  timer_expired_callback function is not  invoked even though the tw node is getting scheduled. Detals: tw_node of type VLIB_NODE_TYPE_INPUT. Node function calls run_timer_wheels : run_timer_wheels(vm) { tw_timer_wheel_

[vpp-dev] format_slist

2020-06-04 Thread hari_akkin via lists.fd.io
Hi, I am facing an issue with format_slist where it is returning more elemets than added to added to the list. I am on fdio.1810. any knwon issue around this function? thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16652): https://lists.fd.

[vpp-dev] per node error codes limit

2020-05-11 Thread hari_akkin via lists.fd.io
Hi, Is there anyway to accomodate more than 64 counters for error per node? currently it is limited to 64 and I have a case where the number of counters are more than 64. thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16302): https://lists

Re: [vpp-dev] pool_get_aligned causing crash

2019-07-10 Thread hari_akkin via Lists.Fd.Io
Hi Damjan, Below is the backtrace 0x750124d5 in __memset_avx2_unaligned_erms () from /lib64/libc.so.6 (gdb) bt #0  0x750124d5 in __memset_avx2_unaligned_erms () from /lib64/libc.so.6 #1  0x75dc1571 in mspace_put (msp=0x7fffb4c8e010, p_arg=0x7fffb5e76d88) at /usr/cna/bld-d

[vpp-dev] pool_get_aligned causing crash

2019-07-10 Thread hari_akkin via Lists.Fd.Io
Hi All, We are seeing a crash when we try to get second object from pool_get_aligned(), for a specific vector. If we do pre-allocation of the pool with specific number (using pool_alloc_aligned), then the object allocation is getting successful until that number and crashes for next object. H

[vpp-dev] vppctl hanging when using vlib_time_now()

2019-07-05 Thread hari_akkin via Lists.Fd.Io
Hi, I am calling vlib_time_now(vm) in one of the application functions and after this "vppctl show .." command is hanging and ultimately hitting os_panic(). In below while loop, value of workers_at_barrier stays at 2 where as count is 3 in function vlib_worker_thread_barrier_sync_int() while (*vl

Re: [vpp-dev] timer wheel usage queries

2019-06-18 Thread hari_akkin via Lists.Fd.Io
Thanks Dave. Per thread TW are working as expected regards Hari -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13327): https://lists.fd.io/g/vpp-dev/message/13327 Mute This Topic: https://lists.fd.io/mt/32039603/21656 Group Owner: vpp-dev+ow...@lis

Re: [vpp-dev] timer wheel usage queries

2019-06-17 Thread hari_akkin via Lists.Fd.Io
Hi Dave, Thanks for the quick response. Can you please point me how to tie a timer wheel to a thread? thanks Hari -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13299): https://lists.fd.io/g/vpp-dev/message/13299 Mute This Topic: https://lists.fd.i

Re: [vpp-dev] timer wheel usage queries

2019-06-17 Thread hari_akkin via Lists.Fd.Io
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 w

[vpp-dev] timer wheel usage queries

2019-06-12 Thread hari_akkin via Lists.Fd.Io
Hello I am trying to use timer_wheel framework to start a timer. I followed the examples given in fdio, but the expiry_callback function never being called back. I am not sure if timer failed to expire or my usage has problems. I used the below functions: Timer wheel Init: { tw_timer_wheel_1t_1