Re: [vpp-dev] VPP Node Debug

2017-06-05 Thread Alessio Silvestro
Dear Ole, In order to avoid problems with vagrant, I installed VPP on ubuntu server 16.04. I start vpp with the command! $ sudo vpp unix interactive. After configuring correctly the interface I do $ set punt udp in order to accept UDP traffic on the port . When I send 1 UDP packet I

Re: [vpp-dev] Need some help on VPP

2017-06-05 Thread Damjan Marion
Actually not :) We dropped dependency on dpdk ptype due to history of issues and lack of mpls ptype and we purely rely on ethertype. From the metadata only thing we use today is ip4 hdr checksum. > On 5 Jun 2017, at 14:56, Dave Wallace wrote: > > To be pedantic, the

Re: [vpp-dev] Need some help on VPP

2017-06-05 Thread Dave Wallace
To be pedantic, the VPP dpdk-input node checks the classification metadata for each packet which was set by DPDK and decides whether to bypass the ethernet-input node. Thanks, -daw- On 6/5/2017 3:23 AM, Nagaprabhanjan Bellari wrote: DPDK can be thought of as a device driver - there can be

Re: [vpp-dev] Can we set MPLS exp and ttl fields when programming out labels?

2017-06-05 Thread Nagaprabhanjan Bellari
Thanks, that makes it clear now.. -nagp On Mon, Jun 5, 2017 at 2:00 PM, Neale Ranns (nranns) wrote: > > > The EOS bit does get set automatically. This is necessary because when we > do: > >ip route add 1.1.1.1/32 via 10.10.10.10 Eth out-label 66 > > we want the EOS bit

Re: [vpp-dev] Can we set MPLS exp and ttl fields when programming out labels?

2017-06-05 Thread Nagaprabhanjan Bellari
Ok great! I will try to get a shot at it. Another related question: When we push one or more labels for a route - does the eos bit get set automatically for the bottom most label? Because - in the route api - we only push label values to the frp_label_stack - I was wondering how to set the eos

Re: [vpp-dev] Can we set MPLS exp and ttl fields when programming out labels?

2017-06-05 Thread Neale Ranns (nranns)
Hi nagp, There’s no means to do that currently, but it would be a welcome addition. Regards, Neale From: on behalf of Nagaprabhanjan Bellari Date: Monday, 5 June 2017 at 08:24 To: vpp-dev Subject: [vpp-dev] Can we set

Re: [vpp-dev] Why ip address is mandatory for gre interface?

2017-06-05 Thread Neale Ranns (nranns)
Hi Wenxian, All interfaces require some IP configuration to become ‘IP enabled’ before they will accept IP traffic. There are 2 ways to IP enable an interface: 1) Add an IP address 2) Make the interface IP unnumbered to another interface that does have an IP address; ‘set int ip

[vpp-dev] Can we set MPLS exp and ttl fields when programming out labels?

2017-06-05 Thread Nagaprabhanjan Bellari
The standard route API does not seem to allow this, so was wondering if there is any other means to achieve the same. Thanks, -nagp ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Need some help on VPP

2017-06-05 Thread Nagaprabhanjan Bellari
DPDK can be thought of as a device driver - there can be multiple device drivers - tap interface handler is also, technically, a device driver. So are the host-if, ssvm etc. etc. Their job is to collect packets from their respective "media" (a physical interface for dpdk, kernel for tap, shared

[vpp-dev] Need some help on VPP

2017-06-05 Thread Mahesh Ishwar Mathad
Thanks for the great support. The VPP platform grabs all available packets from RX rings to form a vector of packets. These vector of packets who will classify these packets either DPDK or VPP ?. If it is VPP how VPP will classify packet because what I am thinking for every packet VPP is