Hi jinsh,
Thanks for the help.
I placed assert statement in *vlib_process_signal_event_**helper* function. But
in this place the assert statement didn't hit.
When I debugged further I found that my process node is not there in
the *data_from_advancing_timing_wheel
*vector.
i believe due to this process node is not getting called.now i am checking
why  *rtb-**vpp-epoll-process *node entry is not present in
*data_from_advancing_timing_wheel
*vector*.*

Thanks and regards,
Sudhir

On Thu, Mar 9, 2023 at 9:08 PM jinsh11 <jins...@chinatelecom.cn> wrote:

>
>    -
>
>    I think you can query who stopped the current node's time wheel.
>
>    always_inline void *
>
>    vlib_process_signal_event_helper (vlib_node_main_t * nm,
>
>      vlib_node_t * n,
>
>      vlib_process_t * p,
>
>      uword t,
>
>      uword n_data_elts, uword n_data_elt_bytes)
>
>    {
>
>
>
>    if (add_to_pending)
>
>        {
>
>          u32 x = vlib_timing_wheel_data_set_suspended_process
>    (n->runtime_index);
>
>          p->flags = p_flags | VLIB_PROCESS_RESUME_PENDING;
>
>          vec_add1 (nm->data_from_advancing_timing_wheel, x);
>
>          if (delete_from_wheel){
>
>    TW (tw_timer_stop) ((TWT (tw_timer_wheel) *) nm->timing_wheel,
>
>        p->stop_timer_handle);
>
>           *vlib_process_t *p1 = vec_elt (nm->processes,
>    vlib_get_node_by_name(vm,"rtb-vpp-epoll-process”)->runtime_index);*
>
>    *      If ((p != p1 && (p-> stop_timer_handle ==
>    p1->stop_timer_handle))*
>
>    *      {*
>
>    *          ASSERT();*
>
>    *       }*
>    }
>
>        }
>
>    }
>
>
> 
>
>

-- 
NOTICE TO
RECIPIENT This e-mail message and any attachments are 
confidential and may be
privileged. If you received this e-mail in error, 
any review, use,
dissemination, distribution, or copying of this e-mail is 
strictly
prohibited. Please notify us immediately of the error by return 
e-mail and
please delete this message from your system. For more 
information about Rtbrick, please visit us at www.rtbrick.com 
<http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22688): https://lists.fd.io/g/vpp-dev/message/22688
Mute This Topic: https://lists.fd.io/mt/97032803/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to