Re: [vpp-dev] vpp node implementation

2016-11-18 Thread Dave Barach (dbarach)
Quad loops (4+4) are sometimes effective. See ip4_lookup_inline(...) and dpdk_device_input(...) for examples. The limiting factor: gcc runs out of registers. I've yet to discover a case where a sextuple loop (6+6) would seem likely to be effective. Please let folks know if you discover one. So

[vpp-dev] vpp node implementation

2016-11-18 Thread Mli
We plan to implement a new node in VPP. I have the following 2 small questions (1)2 + 2 principle For each vpp node, first it prefetch the next 2 packets (see the following codes) and then process the 2 current packets. Do we must to follow this programming style? Can we do 4+4 or 6+6

[vpp-dev] LB plugin compile error

2016-11-18 Thread ABHIGYAN, UNKNOWN (ABHIGYAN SHARMA)
I am compiling the load balancing plugin in 16.09 release on an Ubuntu 14.04 bare metal. I followed the same instructions as for building the sample plugin. https://wiki.fd.io/view/VPP/How_To_Build_The_Sample_Plugin I am running into the following compilation error in compiling load balancing p

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread John Lo (loj)
The tuntap-tx node in VPP does not save any data to support packet trace. That’s why you do see any packet trace after error-punt. -John From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Dave Barach (dbarach) Sent: Friday, November 18, 2016 8:23 AM To: Prerit J

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Dave Barach (dbarach)
Packets on TUN interfaces do not have MAC headers. You can clearly spot the ip header 0x454e in both cases, and the mac header ip4 ethertype 0x0800 (ip4) in the ethernet header case. Thanks… Dave From: Prerit Jain [mailto:prerit.j...@gmail.com] Sent: Friday, November 18, 2016 9:13 AM To: Da

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Prerit Jain
Yes I saw the packet in tcpdump, however the packets are not getting received on UDP server application. In the tcpdump , the packet does not have the Ethernet header as shown below- Packet sent by external node - 19:42:26.007332 IP 70.1.1.58.commplex-main > 70.1.1.51.ipsec-nat-t: UDP-encap: ESP(

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Dave Barach (dbarach)
You saw the packets w/ tcpdump, right? Thanks… Dave From: Prerit Jain [mailto:prerit.j...@gmail.com] Sent: Friday, November 18, 2016 8:15 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Fwd: Punting UDP packets to Kernel You mean that ip4-udp-punt node will directly

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Prerit Jain
You mean that *ip4-udp-punt *node will directly write to tuntap interface for sending the packet to Kernel. On Fri, Nov 18, 2016 at 5:54 PM, Dave Barach (dbarach) wrote: > Expected behavior. > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Prerit

Re: [vpp-dev] IPFIX implementation in VPP

2016-11-18 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Thanks for advice, Marek From: Dave Barach (dbarach) Sent: 18 listopada 2016 13:24 To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) ; vpp-dev@lists.fd.io Subject: RE: IPFIX implementation in VPP Please support the core implementation. The flow-per-pkt plugin is experimental at

Re: [vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Dave Barach (dbarach)
Expected behavior. From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Prerit Jain Sent: Friday, November 18, 2016 5:33 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Fwd: Punting UDP packets to Kernel Thanks Dave. After adding below code in /etc/vpp/startup.con

Re: [vpp-dev] IPFIX implementation in VPP

2016-11-18 Thread Dave Barach (dbarach)
Please support the core implementation. The flow-per-pkt plugin is experimental at this point... Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco) Sent: Friday, November 18, 2016 4:51 A

[vpp-dev] Fwd: Punting UDP packets to Kernel

2016-11-18 Thread Prerit Jain
Thanks Dave. After adding below code in /etc/vpp/startup.conf tuntap { enable } I am able to capture the packets in kernel using tcpdump. However still the packet flow is terminating in *error-punt *in trace *...* *00:06:52:855592: ip4-local* *UDP: 70.1.1.58 -> 70.1.1.51* * to

[vpp-dev] Jenkins Failure Adding Package

2016-11-18 Thread Connolly, Padraig
Hi All, I am trying to add the python-termcolor package as a dependency in VPP for the following patch: https://gerrit.fd.io/r/#/c/3815/ I am getting failures on all Ubuntu Jenkins tests. For vpp-lite on Ubuntu, the error is; Unable to locate package python-termcolor Does Vpp-lite use a diffe

[vpp-dev] IPFIX implementation in VPP

2016-11-18 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, VPP APIs provide two ways two ways to configure IPFIX. One is part of the core api - introduced by https://jira.fd.io/browse/VPP-204. Second one is the one provided by flowperpkt plugin - https://gerrit.fd.io/r/#/c/3318 Honeycomb team wants to provide netconf support for IPFIX, which one of