Re: [vpp-dev] 答复: Re: Signal events between graph nodes within different threads

2017-03-07 Thread Keith Burns
On Wed, Mar 8, 2017 at 2:29 PM wrote: > hi Dave and hongjun: > > > We also got confused with below code. Dos it works correctly? > > Maybe the dhcp_proxy_to_client_input fuction runs in the worker thread, > and it will call vlib_process_signal_event function to trigger > dhcp-proccess node in

[vpp-dev] 答复: Re: Signal events between graph nodes within different threads

2017-03-07 Thread wang.hui56
hi Dave and hongjun: We also got confused with below code. Dos it works correctly? Maybe the dhcp_proxy_to_client_input fuction runs in the worker thread, and it will call vlib_process_signal_event function to trigger dhcp-proccess node in the main thread. If it works, maybe the questio

[vpp-dev] 答复: Re: Signal events between graph nodes within different threads

2017-03-07 Thread wang.hui56
hi all: Incidentally, we have also another question. Is there a common and high-performance way to deliver some control-plane packets from worker thread to the main thread? We found vl_api_rpc_call_main_thread can handle it, and it is already used in BFD bfd_rpc_update_session. But there is