Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Michael Borokhovich
I tried various options, like below, but none of the work. How can I use the mroute to specify a node (and not an interface or an address)? vppctl ip *mroute* 224.0.0.0/8 via GigabitEthernet0/4/0 vppctl ip *mroute* 224.0.0.0/8 via GigabitEthernet0/4/0 Accept vppctl ip *mroute* 224.0.0.0/8 via

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Shaw, Jeffrey B
Probably, but I don’t know the command. Essentially you want a CLI command that configures a fib to direct packets/flows to an arbitrary node. Maybe “ip route” or “ip mroute” has what you need. DBGvpp# ip help mroute ip mroute [add|del] / [table ] [via [], … route

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Michael Borokhovich
Jef, is there a cli command I can use to instruct VPP to forward multicast to that node? On Mon, Oct 9, 2017 at 6:23 PM, Shaw, Jeffrey B wrote: > We have this code, which is supposed to tell the fib that packets going to > the 224.0.0.x/24 network should be delivered

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Shaw, Jeffrey B
We have this code, which is supposed to tell the fib that packets going to the 224.0.0.x/24 network should be delivered to our node. { dpo_proto_t proto = 0; dpo_id_t dpo = DPO_INVALID; fib_prefix_t pfx = {}; pfx.fp_addr.ip4.as_u32 = 0x00E0; /* 224.0.0.0 */ pfx.fp_len

Re: [vpp-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Michael Borokhovich
Here is the trace of the packet that is dropped. Any help is very appreciated. 00:05:18:275995: dpdk-input GigabitEthernet0/4/0 rx queue 0 buffer 0x446a: current data 14, length 68, free-list 0, clone-count 0, totlen-nifb 0, trace 0x1 PKT MBUF: port 0, nb_segs 1, pkt_len 82 buf_len

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-09 Thread Michael Borokhovich
Just tried the routing plugin with the fixes. Unfortunately, incoming multicast packets are dropped by VPP. Here is the packet trace. Do you have any idea? The same setup worked with VPP 1609... 00:05:18:275995: dpdk-input GigabitEthernet0/4/0 rx queue 0 buffer 0x446a: current data 14,

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-09 Thread Michael Borokhovich
That's great. Thanks a lot, Jeff. So maybe now the OSPF also will work. My fix of the segfault was just adding "if" in "src/vlib/counter.h". So maybe this broke the multicast forwarding from VPP to Linux... I will try the version with your fixes. On Mon, Oct 9, 2017 at 1:18 PM, Shaw, Jeffrey B

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-09 Thread Shaw, Jeffrey B
I’ve submitted changes 8716, 8717, and 8718, which should fix the issues we’ve discussed in this thread. Thanks, Jeff From: Michael Borokhovich [mailto:michael...@gmail.com] Sent: Monday, October 09, 2017 9:07 AM To: Ni, Hongjun Cc: Neale Ranns (nranns)

[vpp-dev] Mac Address Api Changes

2017-10-09 Thread Mohsin Kazmi (sykazmi)
Hello,? I am writing regarding a proposal to change API messages related to l2fib mac address. In vpp/src/vnet/l2/l2.api file, currently two API messages related to l2fib uses u64 for mac address instead of u8 mac[6]. While rest of VPP API calls use array of six bytes to store mac address.

[vpp-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-09 Thread Michael Borokhovich
Hi, After applying the fixes suggested by Jeff, I was able to compile the router plugin with VPP 1707. It runs and allows to enable tap-inject and set up interfaces addresses without crashing. The problem I'm facing now is with setting up FRR OSPF on top of the VPP+router plugin. FRR OSPF is

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-09 Thread Michael Borokhovich
Thanks, Hongjun, I will check this once I see that the routing plugin works with VPP1707. On Fri, Oct 6, 2017 at 7:25 PM, Ni, Hongjun wrote: > Hi Michael and Neale, > > > > As per my previous fixing experience on router plugin, I guess that the > cause may locate at: > >

[vpp-dev] MPLS push/pop/swap with cli

2017-10-09 Thread Mostafa Salari
Hi, Is there any cli command and/or API to push, pop and swap MPLS labels to the packet? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] vpp interface promisc ?

2017-10-09 Thread 15803846349
Hi, Can vpp interface be set promisc? I want to receive any packets through netcards. 来自 魅族 MX4 Pro___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] VPP and Mellanox 40 Gb/s NIC

2017-10-09 Thread Alessio Silvestro
Hi all, I am working on VPP v17.04.2-2. I use to work with 10Gb/s Intel NICs. Now, I would like to use a 40Gb/s Mellanox ConnectX-3 NIC. I read a previous thread on the topic ( https://lists.fd.io/pipermail/vpp-dev/2017-June/005540.html) however it refers only to the new generation ConnectX-4.

[vpp-dev] SR-IOV nic support switchdev mode ???

2017-10-09 Thread ????????
The intel NIC with SR-IOV functionatity (i40e, x710) support be set to swichdev mode ??? "switchdev mode" can be set by below command #devlink dev eswitch set :01:00.1 mode switchdev___ vpp-dev mailing list vpp-dev@lists.fd.io

Re: [vpp-dev] API versioning

2017-10-09 Thread Ole Troan
Alec, > A good step in the right direction. How does this translate in terms of > python package versioning? > Ideally, we should have a python PyPI package for programming VPP using > python library. Currently, it does not at all translate to python package versioning. There is already a PyPI

Re: [vpp-dev] Test failing

2017-10-09 Thread Jan Gelety -X (jgelety - PANTHEON TECHNOLOGIES at Cisco)
Hello Marco, I had a look on the test case log (https://jenkins.fd.io/job/vpp-csit-verify-virl-master/7480/robot/report/log.html) - it's always the best action you can do to check what test case really caused the failure as there are some tests expected to fail because of non-fixed issues in

Re: [vpp-dev] Test failing

2017-10-09 Thread Marco Varlese
Please, take a look at this logs: https://jenkins.fd.io/job/vpp-csit-verify-virl-master/7480/console After Ed and yourself mentioned it... maybe the cause of the failure is linked to this failure instead? 14:32:52 14:11:12 Tests.Vpp.Func.Ip4 Tunnels.Lisp.Eth2P-Ethip4Lisp- L2Bdbasemaclrn-Func ::