[vpp-dev] Segmentation fault in recursivly lookuping fib entry.

2017-05-12 Thread yug...@telincn.com
Hi, all Below are my main configs, others are default. When i knock into this cmd "vppctl ip route 0.0.0.0/0 via 10.10.40.1" to add one default route, the vpp crashed, it looks like this func fib_entry_get_resolving_interface call itself recursivly till vpp's crash. Is there something wrong? c

Re: [vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
Hi, I mean that these two interfaces both are l3 mode in vpp, with default config mode, there are two relevant interfaces which are bound to dpdk in vm are bridged to the same phy interface. I used VM Workstation here. Am i clear? Regards, Ewan yug...@telincn.com From: Neale Ranns (nrann

Re: [vpp-dev] ACL + classifier table does not work on subinterface as expected

2017-05-12 Thread John Lo (loj)
Hi Mina, The packet is forwarded in IP4 forwarding path so the ACL should definitely be placed with the ip4-table option and not l2-table option. According to the packet trace, ip4-inacl node is invoked on packet received on sw_if_index 9 and used classify table index 1 to process it. You can l

Re: [vpp-dev] using clib_socket interface to receive udp stream

2017-05-12 Thread Dave Barach (dbarach)
Dear Guy, The clib_socket(...) APIs use system calls to send/receive data via the Linux network stack. Linux is blissfully unaware of vpp interfaces, so it can't work. To receive ip-udp-for-us-to-a-dst-port packets on a vpp interface, register a graph node to process packets. See.../src/vnet/vx

[vpp-dev] using clib_socket interface to receive udp stream

2017-05-12 Thread Guy Doucet -X (gudoucet - FLEXTRONICS CANADA DESIGN SERVICES INC at Cisco)
Hi, I am trying to use the clib_socket interface to process a udp multical stream being received by fd.io interface. I followed the example in test_socket.c. I am registering for the stream as follows: s->config = "232.0.0.1:5001"; .. error = clib_socket_init (s); .. error = clib_socket_rx (s,

[vpp-dev] ACL + classifier table does not work on subinterface as expected

2017-05-12 Thread Mina Jafari
Hi all, I have defined a classify table with no session and its acl-miss-next is drop and assigned it to all interfaces including subinterface. I also defined another classify table with a session that permit packets with specific src and dst address according to my intended subinterface. I also a

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
tEthernet0/7/0 >> Ethernet address fa:16:3e:f2:15:a5 >> Intel 82599 VF >> carrier up full duplex speed 1 mtu 9216 >> rx queues 1, rx desc 1024, tx queues 1, tx desc 1024 >> >> I've tried a similar setup between two virtual box VM's an

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Tomas Brännström
t;* configured for the 10G NIC.* >>> >>> >> >>> >>> >>* So VPP is installed in a VM, and all interfaces work OK, then can be* >>> >>> >>* reached from outside the VM etc. Following the basic examples on the >>> >>wiki,

Re: [vpp-dev] Add support to CI for openSUSE

2017-05-12 Thread Vanessa Valderrama
Ed, I'm working on building the base image and getting puppet agent installed. Thanks, Vanessa On 05/12/2017 07:12 AM, Ed Warnicke wrote: > Vanessa, > > What is the status on this? Also, please get Marco access to the > ticketing system. > > Ed > > On Fri, May 12, 2017 at 4:54 AM, Marco Varlese

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Tomas Brännström
> >> >>* vpp# set int state TenGigabitEthernet0/7/0 up* >> >> >> >> >> >>* But when trying to ping for example the physical NIC on the other >> >>server,* >> >> >>* we get no reply:* >> >> >> >> >> >>* vpp# ip probe 10.0.1.1 TenGigabitEthernet0/6/

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
See my another post sent few mins ago to this list… On 12 May 2017, at 11:10, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: Thanks. I can try to use a later VPP version. A thing to note is that when we did try to use the master release before, VPP failed to discover interfaces,

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
t; tx good packets 3 >> tx good bytes 126 >> TenGigabitEthernet0/7/02 up TenGigabitEthernet0/7/0 >> Ethernet address fa:16:3e:f2:15:a5 >> Intel 82599 VF >>

Re: [vpp-dev] Add support to CI for openSUSE

2017-05-12 Thread Andrew Grimberg
On 05/12/2017 01:54 AM, Marco Varlese wrote: > If you cannot add me to the system, I am more than happy to have any > updates via email. You can log into the ticket system by going to https://rt.linuxfoundation.org if it's your first time trying to get in select the 'Forgot your password?' link a

[vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Gonsalves, Avinash (Nokia - IN/Bangalore)
thernet0/7/02 up TenGigabitEthernet0/7/0 >> Ethernet address fa:16:3e:f2:15:a5 >> Intel 82599 VF >> carrier up full duplex speed 1 mtu 9216 >> rx queues 1, rx desc 1024, tx queues 1, tx desc 1024 >> >> I've tried a s

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Tobias Sundqvist
Hi, just a thought, right now we have not enabled DPDK in hte VM (we installed the DPDK version of VPP but has not installed DPDK to handle the NIC), we thought that we should take it in steps and first gett VPP working and then add DPDK functionality. Do you think DPDK is needed in order to get it

Re: [vpp-dev] arp_input

2017-05-12 Thread Neale Ranns (nranns)
Hi Ewan, You mentioned that these interfaces are ‘bridged to the same host phy interface’ – can you please share the relevant configs for that. Thanks, neale From: "yug...@telincn.com" Date: Friday, 12 May 2017 at 13:51 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] arp_input

Re: [vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
root@ubuntu:/# vppctl show int addr GigabitEthernet2/9/0 (up): 10.10.55.52/16 GigabitEthernet2/a/0 (up): 192.168.20.1/24 root@ubuntu:/# vppctl show ip arp|grep 10.10.55.50 70.0606 10.10.55.50 DN f4:4d:30:16:ea:c1 GigabitEthernet2/9/0 70.4546 10.10.55.50 DN f4:4d:30:16:ea:c1

Re: [vpp-dev] arp_input

2017-05-12 Thread Neale Ranns (nranns)
Hi Ewan, Please post your configs and the output of ‘sh ip arp’. Thanks, neale From: on behalf of "yug...@telincn.com" Date: Friday, 12 May 2017 at 12:33 To: vpp-dev Subject: [vpp-dev] arp_input Here are two arp_input functions on vpp 16.09 and vpp 17.04, if my VM have two ethernet in

Re: [vpp-dev] Add support to CI for openSUSE

2017-05-12 Thread Ed Warnicke
Vanessa, What is the status on this? Also, please get Marco access to the ticketing system. Ed On Fri, May 12, 2017 at 4:54 AM, Marco Varlese wrote: > Hi Vanessa, > > Did you get any chance to look into this? > I tried to login onto the ticketing system but I still get the > unauthorized erro

[vpp-dev] arp_input

2017-05-12 Thread yug...@telincn.com
Here are two arp_input functions on vpp 16.09 and vpp 17.04, if my VM have two ethernet intefaces with different network segment, and both of them are bridged to the same host phy interface, then we will have same arp entry on each interface. Why we process like this on version 17.04. ver

Re: [vpp-dev] unix-epoll-input consuming 100% CPU

2017-05-12 Thread Nagaprabhanjan Bellaru
Thanks, I have found the commit which fixes the busy loop issue. Now CPU utilization is at bay. Thanks a lot! :-) -nagp On Thu, May 11, 2017 at 5:10 PM, Nagaprabhanjan Bellaru < nagp.li...@gmail.com> wrote: > Thanks a lot Damjan, can you please point me to the commit so that I can > pick them?

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Tomas Brännström
>>* hardware":* > > >> > > >>* vpp# show hardware* > > >>* NameIdx Link Hardware* > > >>* TenGigabitEthernet0/6/01 up TenGigabitEthernet0/6/0* > > >>* Ethernet address fa:16:3e:04:42:d1* > > >>* Intel 82599 VF* > > >>* carrier up full duplex speed 1 mtu 9216* > > >>* rx queues 1, rx desc 1024, tx queues 1, tx desc 1024* > > >> > > >>* tx frames ok 3* > > >>* tx bytes ok 126* > > >>* extended stats:* > > >>* tx good packets 3* > > >>* tx good bytes 126* > > >>* TenGigabitEthernet0/7/02 up TenGigabitEthernet0/7/0* > > >>* Ethernet address fa:16:3e:f2:15:a5* > > >>* Intel 82599 VF* > > >>* carrier up full duplex speed 1 mtu 9216* > > >>* rx queues 1, rx desc 1024, tx queues 1, tx desc 1024* > > >> > > >>* I've tried a similar setup between two virtual box VM's and that worked* > > >>* OK, so I'm thinking it might have something to do with SR-IOV for some* > > >>* reason. I'm having a hard time troubleshooting this since I'm not sure > >>how* > > >>* to check where the packets actually get lost...* > > >> > > >>* /Tomas* > > >> > > >>* ___* > > >>* vpp-dev mailing list* > > >>* vpp-dev at lists.fd.io <https://lists.fd.io/mailman/listinfo/vpp-dev>* > > >>* https://lists.fd.io/mailman/listinfo/vpp-dev > >><https://lists.fd.io/mailman/listinfo/vpp-dev>* > > >> > > >> > > >> > > >* * > > > > > > > > > > > -- next part -- > > An HTML attachment was scrubbed... > > URL: > <http://lists.fd.io/pipermail/vpp-dev/attachments/20170512/5a0abc73/attachment.html> > > > ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Tomas Brännström
Thanks. I can try to use a later VPP version. A thing to note is that when we did try to use the master release before, VPP failed to discover interfaces, even when they were whitelisted. Not sure if something has changed in the way VPP discover interfaces in later versions. I will try with 1704 th

Re: [vpp-dev] Add support to CI for openSUSE

2017-05-12 Thread Marco Varlese
Hi Vanessa, Did you get any chance to look into this?  I tried to login onto the ticketing system but I still get the unauthorized error. If you cannot add me to the system, I am more than happy to have any updates via email. Thanks, Marco On Wed, 2017-05-03 at 04:21 -0700, Ed Warnicke wrote:

Re: [vpp-dev] VPP and SR-IOV(?): No packets reaching VPP interfaces

2017-05-12 Thread Damjan Marion (damarion)
On 12 May 2017, at 08:01, Tomas Brännström mailto:tomas.a.brannst...@tieto.com>> wrote: (I forgot to mention before, this is running with VPP installed from binaries with release .stable.1701) I strongly suggest that you use 17.04 release at least. With PF do you mean packet filter? I don't