[vpp-dev] vpp SRIO-V configuration problem

2017-07-14 Thread SAKTHIVEL ANAND S
I have installed VPP16.06 on ubuntu 16.04.2 LTS and it has 2 SRIO-V interfaces. Before starting the VPP service the interfaces work and are pingable. Then I follow below steps. #sudo ifconfig ens224 down #sudo ip addr flush dev ens224 #sudo service vpp start #sudo vppctl set int ip address Gigab

Re: [vpp-dev] VPP classifier node plugin not invoked.

2017-07-14 Thread Dharmaray Kundargi
I don’t see ip4-classify in the next nodes for ip4-inacl. I am using 16.04 . Any suggestions please? From: Dharmaray Kundargi Sent: Friday, July 14, 2017 10:29 AM To: 'vpp-dev@lists.fd.io' Subject: RE: [vpp-dev] VPP classifier node plugin not invoked. Thanks Shwetha I tried with setting for

Re: [vpp-dev] VPP: Answer UDP Packets

2017-07-14 Thread Alessio Silvestro
[SOLVED] the variable must be declared as ==> extern adj_index_t adj_index; In my case, I have 3 workers configured. Now it works. Cheers, Alessio On Thu, Jul 13, 2017 at 3:12 PM, Alessio Silvestro wrote: > Hi Neale, > > thanks for the info. > > I was already doing that, but I get an unpredi

Re: [vpp-dev] VPP classifier node plugin not invoked.

2017-07-14 Thread Dave Barach (dbarach)
Ip4-inacl != ip4-classify. If you want packets to visit ip4-classify, you need to install a classify adjacency in the FIB. See .../ip/lookup.c / “ip route 1.2.3.4/8 via classify ” debug CLI command. I understand that not having things work the way you expect them to is frustrating. I would love

Re: [vpp-dev] Neighbor unreachability detection in vpp

2017-07-14 Thread Neale Ranns (nranns)
Hi Andrej, VPP does not run IPv6 neighbour unreachability detection (NUD) so, in the absence of an interface down signal, VPP will not be aware that the endpoint is no longer reachable. /neale From: on behalf of Andrej Mak Date: Thursday, 13 July 2017 at 14:00 To: "vpp-dev@lists.fd.io" Sub

Re: [vpp-dev] VPP: Answer UDP Packets

2017-07-14 Thread Neale Ranns (nranns)
Hi Alessio, Don’t call adj_nbr_add_or_lock from a worker thread, it must only be called from the main thread – the adjacency DB is not thread safe. Stash the result of the call in your ‘key’ object. /neale From: Alessio Silvestro Date: Friday, 14 July 2017 at 14:15 To: "Neale Ranns (nranns)"

Re: [vpp-dev] vpp SRIO-V configuration problem

2017-07-14 Thread Damjan Marion
> On 14 Jul 2017, at 09:14, SAKTHIVEL ANAND S wrote: > > I have installed VPP16.06 on ubuntu 16.04.2 LTS and it has 2 SRIO-V > interfaces. > Before starting the VPP service the interfaces work and are pingable. > Then I follow below steps. > > #sudo ifconfig ens224 down > #sudo ip addr flush

[vpp-dev] Will adding fields to existing structures affect performance?

2017-07-14 Thread Yuliang Li
Hi, The code seems to be highly tuned for cache performance. If I want to add some more fields in the existing structures, are there any performance concerns? For example, if I want to add some fields in the frame structure (vlib_frame_t), are there dangers of affecting performance? Thanks, --

[vpp-dev] Merge multiple frames?

2017-07-14 Thread Yuliang Li
Hi, The packets in a frame (a batch of packets) can be split (if they goes to different next node). Are there places where packets from different frames are merged into one frame? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University ___

Re: [vpp-dev] tx_packet_error

2017-07-14 Thread yug...@telincn.com
Hi all, With cmd "vppctl pcap tx trace on", I have caught tx packets, any guides? Regards, Ewan yug...@telincn.com From: yug...@telincn.com Date: 2017-07-13 12:13 To: vpp-dev Subject: tx_packet_error Hi all, After hours of running, vpp can rx packets, but can't tx packets. Here is the result

Re: [vpp-dev] trace

2017-07-14 Thread yug...@telincn.com
Thanks, Ewan yug...@telincn.com From: Dave Barach (dbarach) Date: 2017-07-13 19:59 To: Luke, Chris; yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] trace Folks, If one wants/needs to trace packets which vpp creates from whole cloth, here’s how to do it. Typically, it’s an input-node func

Re: [vpp-dev] tx_packet_error

2017-07-14 Thread yug...@telincn.com
Hi all, If vpp is running on the vm, everything is ok. But on physical host system, somethimes it can't work after a while, sometimes it takes a day. Func "rte_eth_tx_burst" returns 1 when things go right, returns 0 when things go wrong. Anyone has met this before or has any clue? Regards, Ewa

Re: [vpp-dev] show trace bug in vpp stable 1707

2017-07-14 Thread Andrew Taylor
*This is a vpp config :* set int ip address GigabitEthernet0/4/0 192.168.30.135/24 set int state GigabitEthernet0/4/0 up set int ip address GigabitEthernet0/5/0 192.168.40.135/24 set int state GigabitEthernet0/5/0 up trace add dpdk-input 100 show trace *this is a bt output:* #0 0x7