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

2017-03-07 Thread 倪红军
Hi Keith and Dave, Thank you for your detailed advice. We will take your suggestions into consideration carefully. By the way, It is not used for NSH_SFC. It is VPP specifics. Thanks a lot, Hongjun At 2017-03-08 06:21:20, "Keith Burns" wrote: Hongjun, We replicate the graph across

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

2017-03-07 Thread Keith Burns
Hongjun, We replicate the graph across all threads. The question is what do you want the node to do when it sees this event? If for instance a packet triggered an event that another node needs to know about in order to subsequently process THAT packet, ignoring the fact it's going to stay

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

2017-03-07 Thread Dave Barach (dbarach)
What are you trying to do? Your description is abstract to the point where I won't try to answer, aside from writing that vlib_process_signal_event(...) is not your friend. Thanks... Dave From: Ni, Hongjun [mailto:hongjun...@intel.com] Sent: Monday, March 6, 2017 9:05 PM To: Dave Barach (dbarac