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

2017-03-07 Thread wang.hui56
Yes, I realize that, it could be work. Thanks to hongjun. But vl_api_rpc_call_main_thread will degrade packet handling performance in worker thread, I don't know if there is a common and high performance way to do this? And also I guess vlib_process_signal_event can only be used in main thre

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

2017-03-07 Thread Ni, Hongjun
Hi Hui, I think the SNAT example maybe meet what you want: snat_in2out_node_fn_inline: (in worker thread) slow_path snat_ipfix_logging_nat44_ses_create vl_api_rpc_call_main_thread Regards, Hongjun From: wang.hu...@zte.com.cn [mailto:wang.hu...@zte.com.cn] Sent: Wednesda

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

2017-03-07 Thread wang.hui56
Maybe if you could expand on what it is you are trying to achieve? //when starting worker thread , the main thread can't receive packet from IO, so we want to transfer some packet to main thread to continue processing. Is it specifically to do with DHCP (and proxy) or is that just the code y

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

Re: [vpp-dev] issues when enable proxy-arp

2017-03-07 Thread Pan, Xiao
Hi, Neale Thanks for help. In VPP16.06, there is no command like “sh adj” and “sh adj nbr N”, so I use VPP17.01 to get the two outputs. And after my first ping from cont2(192.168.1.2) to cont1(192.168.1.1), no packet was received by cont1. And vpp will restart. Below is the result: # vppctl sh

[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

Re: [vpp-dev] Missing lib pneum during build?

2017-03-07 Thread Jon Loeliger
On Mon, Mar 6, 2017 at 2:57 PM, Jon Loeliger wrote: > > Hi Billy, > > S, despite the Peanut Gallery, I'm not yet crazy... :-) > > Now all we have to do is find the missing dependency in a Makefile! :-) > > Thanks, > jdl > I may not be crazy (yet), but I am in a vacuum. OK, as a review, here

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

[vpp-dev] [FD.io Helpdesk #36808] vpp-merge-master-{os} Jenkins Jobs are failing

2017-03-07 Thread Vanessa Valderrama via RT
The jobs are now passing. https://jenkins.fd.io/view/vpp/job/vpp-merge-master-centos7/ https://jenkins.fd.io/view/vpp/job/vpp-merge-master-ubuntu1404/ https://jenkins.fd.io/view/vpp/job/vpp-merge-master-ubuntu1604/ On Fri Mar 03 18:37:27 2017, hagbard wrote: > The vpp merge jobs appear to be fixe

Re: [vpp-dev] Features, DPO and their connection

2017-03-07 Thread Neale Ranns (nranns)
Hi Pavel, Both DPOs and Feature arcs are both higher layer abstractions to construct the VLIB node graph. DPOs are an abstract concept, a base class if you like, for objects that represent the actions that should be performed on the packet as it is switched. As you know, an object is both data

[vpp-dev] ci-management patch to enable centos VPP verify jobs

2017-03-07 Thread Dave Wallace
Tom, As an action item from today's VPP meeting, I reviewed the outstanding ci-management patches for CSIT. https://gerrit.fd.io/r/#/c/5081/ Add support for Centos 7.3-1611 to vpp jobs. is currently -1 pending the merging of https://gerrit.fd.io/r/#/c/4579 Add support for Centos7.3-1611 to

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-07 Thread Maciek Konstantynowicz (mkonstan)
We have other tests using dot1q VLAN tags, and they work in VIRL e.g. eth2p-dot1ad-l2bdbasemaclrn-vlantrans22-func.robot eth2p-dot1q-l2bdbasemaclrn-eth-2vhost-1vm-func.robot eth2p-dot1q-l2bdbasemaclrn-vlantrans11-func.robot What’s different here from VIRL L2 connectivity perspective?

Re: [vpp-dev] dpdk sw crypto- build error

2017-03-07 Thread Sergio Gonzalez Monroy
So I think I have a fix for this issue. I'm not a compiler/linker expert but basically LD complains when we try to make all symbols (including symbols in SW crypto library archive) public. The following patch fixes the issue by telling the compiler to not export symbols from the crypto library a

[vpp-dev] Fwd: Updated CSIT rls1704 plan..

2017-03-07 Thread Maciek Konstantynowicz (mkonstan)
FYI - pls send your feedback on content and priorities to csit-...@lists.fd.io. -Maciek Begin forwarded message: From: Maciek Konstantynowicz mailto:mkons...@cisco.com>> Subject: Updated CSIT rls1704 plan.. Date: 7 March 2017 at 15:49:27 GMT To: csit-...@lists.fd.io

Re: [vpp-dev] [csit-dev] installation issue of release rpm packages from Nexus on centos7 system

2017-03-07 Thread Thomas F Herbert
On 03/07/2017 04:53 AM, Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco) wrote: Hello vpp developers, We are facing following issue during installation of release vpp rpm packages downloaded from Nexus on VIRL: DEBUG: Running with topology double-ring-nested.centos7 DEBUG: Checki

[vpp-dev] raspberrypi builds

2017-03-07 Thread Ilan Uriel
I am trying to build VPP on rp 2. I have tried both arm32 platform and vpp_lite but none would compile. It appears that there is a lot of work to be done before it can compile on RP. Am I missing something? Did someone actually compiled the code successfully on RP? If so, an explanation would

[vpp-dev] Features, DPO and their connection

2017-03-07 Thread Pavel Chuprikov
Hello, There are two kinds of overlays on top of a VLIB graph: - *Features*: An overlay graph representing per-interface optional functionality (introduced here ). - *DPO graph*: Another overlay graph, that, if we understand correctly, captures per-pr

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

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-07 Thread Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
Hi Neale, I fixed the issue with the IP addresses, but the problem remains. In trace is vat# --- Start of thread 0 vpp_main --- No packets in trace buffer The VIRL topology links are connected via linux bridges, and it seems like it doesn’t forward tagged frames.

Re: [vpp-dev] issues when enable proxy-arp

2017-03-07 Thread Neale Ranns (nranns)
Hi Pan, Could you please collect; sh adj sh adj nbr 5 sh ip fib 192.168.1.1 both before and after the first ping. Thanks, neale From: on behalf of "Pan, Xiao" Date: Tuesday, 7 March 2017 at 09:00 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] issues when enable proxy-arp Hi, all I met an

[vpp-dev] installation issue of release rpm packages from Nexus on centos7 system

2017-03-07 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello vpp developers, We are facing following issue during installation of release vpp rpm packages downloaded from Nexus on VIRL: DEBUG: Running with topology double-ring-nested.centos7 DEBUG: Checking if file /tmp/vpp-17.04-rc0~359_g077d6ae~b1983.x86_64.rpm exists DEBUG: Checking if file /tmp

[vpp-dev] issues when enable proxy-arp

2017-03-07 Thread Pan, Xiao
Hi, all I met an issue when enable proxy-arp in VPP. I have two containers, for instance, cont1 and cont2. Then set two VETH pairs for the two containers, 192.168.1.1 for cont1, 192.168.1.2 for cont2. The default route is below. The 169.254.1.1 is a dummy address. Destination Gateway