Re: [vpp-dev] How to add plugin's statistics into stats thread

2018-05-10 Thread Naoyuki Mori
Hi folks, Are there any suggestions for this? Basically we want have effective method to calculate statistics like pps for cps inside plugin. Thanks, Mori From: "Ni, Hongjun" Date: Monday, May 7, 2018 16:21 To: "Jerome Tollet (jtollet)" , vpp-dev Cc: "Mori, Naoyuki" , Yusuke Tatsumi Subject:

Re: [vpp-dev] vpp_api_test via socket file

2018-05-10 Thread Peter Mikus
Thanks for explanation. It is still not clear why vpp_api_test prints this as valid option $ sudo vpp_api_test ? vpp_api_test: usage [in ... in ] [out ] [script] [json] [plugin_path ][default-socket][socket-name ] [plugin_name_filter ][chroot prefix ] ...however, are there any other options to

Re: [vpp-dev] Static ARP Flag Question

2018-05-10 Thread John Lo (loj)
Hi Jon, This is not the right behavior. I think it is caused by reuse of a static ARP entry in the IP4 neighbor pool with static bit still set. The code merely set the dynamic bit in the flags but left the static bit untouched (similarly for the static path) in arp.c function vnet_arp_set_ip

Re: [vpp-dev] tx-error on create vhost

2018-05-10 Thread steven luong
Aris, From the output of show vhost, the memory regions is 0. The connection between VPP vhost-user and QEMU virtio_net driver does not have a happy ending. Memory regions (total 0) Prior to launching the VM, turn on debug using "debug vhost-user on" in VPP to see more details on the mess

Re: [vpp-dev] tx-error on create vhost

2018-05-10 Thread arisleivadeas
Hi Steven, Yes the vhost-user is connected to a CSR 1k launched as VM by QEMU (version 2.11.1). I have appended the following lines to the xml configuration of the vm The show vhost returns: Virtio vhost-user inte

Re: [vpp-dev] vpp_api_test via socket file

2018-05-10 Thread Dave Barach
Damjan is right. However, vpp is willing to start a binary API messages over sockets server. With a strong warning that not every api works when vpp_api_test runs over sockets, here's how to make it play: # vpp unix { interactive cli-listen /run/vpp/cli-vpp1.sock } api-segment { prefix vpp

[vpp-dev] VTI support in vpp ipsec

2018-05-10 Thread Doug Clements
Hi, I am looking for a way to have the vpp ipsec stack talk with an ubuntu/strongswan/svti tunnel. The key characteristics are that the policies use 0.0.0.0/0 for both source and destination, and traffic is sent down tunnels using a 'mark' instead which is specified per-connection in strongswan.

Re: [vpp-dev] vpp_api_test via socket file

2018-05-10 Thread Damjan Marion
You cannot use CLI socket with VAT. They are completely different things. -- Damjan > On 10 May 2018, at 14:58, Peter Mikus wrote: > > Hello, > > I am trying to override api-segment prefix as well as override cli-listen > socket file [1]. > However I am not able to connect to VPP via vpp_ap

Re: [vpp-dev] vpp_api_test via socket file

2018-05-10 Thread Dave Barach
Let me have a look... D. From: vpp-dev@lists.fd.io On Behalf Of Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES at Cisco) Sent: Thursday, May 10, 2018 8:59 AM To: vpp-dev Subject: [vpp-dev] vpp_api_test via socket file Hello, I am trying to override api-segment prefix as well as override cli-l

[vpp-dev] vpp_api_test via socket file

2018-05-10 Thread Peter Mikus
Hello, I am trying to override api-segment prefix as well as override cli-listen socket file [1]. However I am not able to connect to VPP via vpp_api_test over the socket file. Is this expected behavior? How to connect to vpp via vpp_api_test over custom socket file? I am aiming for controllin

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-10 Thread Luca Muscariello (lumuscar)
MTU had no effect, just statistical fluctuations in the test reports. Sorry for misreporting the info. We are exploiting vectorization as we have a single memif channel per transport socket so we can control the size of the batches dynamically. In theory the size of outstanding data from the tra

[vpp-dev] Packet tx functions via DPDK

2018-05-10 Thread Prashant Upadhyaya
Hi, I am trying to walk throught the code to see how the packet arrives into the system at dpdk rx side and finally leaves it at the dpdk tx side. I am using the context of the macswap sample plugin for this. It is clear to me that dpdk-input is a graph node and it is an 'input' type graph node s

Re: [vpp-dev] VLAN to VLAN

2018-05-10 Thread Andrew Yourtchenko
See if “git clean -fdx” before building might help, I think I have seen something similar when moving between the far apart versions. --a > On 10 May 2018, at 02:17, carlito nueno wrote: > > First Question: > Tried to do “make test TEST=acl_plugin_macip”, but I got this error: > > Using /vpp

Re: [vpp-dev] Active open connection on multithread #vnet #vpp

2018-05-10 Thread Florin Coras
Hi, We really only support active opens from main thread so the asserts are not wrong. I’ve done a quick fix here [1]. Let me know if it works. You second observation is valid so feel free to push a patch or let me know if you want me to push one. Thanks, Florin [1] https://gerrit.fd.io/r/