Re: [vpp-dev] MemIf with non-VPP userspace appliation

2018-11-13 Thread satish . gundu
Can someone please help me here.
Appreciate your inputs on this.

Thanks & Regards,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11233): https://lists.fd.io/g/vpp-dev/message/11233
Mute This Topic: https://lists.fd.io/mt/28121612/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] ipsec support for chained buffers.

2018-11-13 Thread Xuekun
What is the chained buffer used for? For IP fragmentation/reassembly? Because I 
met the issue that seems like IP fragmentation doesn't work on IPSec, while 
work on VxLAN. 
And if yes, when does it plan to be supported?  
Thanks. 

-Original Message-
From: vpp-dev@lists.fd.io  On Behalf Of Klement Sekera via 
Lists.Fd.Io
Sent: Monday, November 12, 2018 5:53 PM
To: vkata...@cisco.com; Vijayabhaskar Katamreddy via Lists.Fd.Io 
; vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] ipsec support for chained buffers.

Hi Vijay,

yes, it's planned.

Regards,
Klement

Quoting Vijayabhaskar Katamreddy via Lists.Fd.Io (2018-11-11 23:56:37)
>Hi
> 
> 
> 
>Is there any plans or any work in progress to extend the support for ipsec
>encrypt nodes to support the chained buffers?
> 
> 
> 
>Thanks
> 
>Vijay
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11232): https://lists.fd.io/g/vpp-dev/message/11232
Mute This Topic: https://lists.fd.io/mt/28085594/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-13 Thread wangchuan...@163.com
worried that the connection might break.



wangchuan...@163.com
 
From: Klement Sekera
Date: 2018-11-13 18:04
To: wangchuan...@163.com; vpp-dev
Subject: Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10
Hi,
if you ask vapi to handle keepalives for you, why would you want to get
callbacks for them?
 
Regards,
Klement
 
Quoting wangchuan...@163.com (2018-11-13 07:27:33)
>Hi��
>At vpp stable/18.10, using vapi_connect to connect vpp and set the
>"bool handle_keepalives " to true,
>But how can i add the cb for keepalives?
>If do, does it means that I could judge the timespan to found the
>disconnection , and need to reconnect using vapi_disconnect & vpai_connect
>?
>Thanks !
> 
>--
> 
>wangchuan...@163.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11231): https://lists.fd.io/g/vpp-dev/message/11231
Mute This Topic: https://lists.fd.io/mt/28120658/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] API changes to trigger email

2018-11-13 Thread Ed Kern via Lists.Fd.Io
Should be able to…

Not that I have the permissions to do it…

following
https://gerrit-review.googlesource.com/Documentation/user-notify.html#project

My first thought is you would want to end up with something along the lines of

[notify “API”]
email = f...@project1.io
email = f...@project2.io
filter = path:^.*\.api
header = to:
type = submitted_changes


submitted_changes for merges or new_changes  if you wanted to see potential 
changes

My GUESS is that you would need at least a vpp committer to satisfy "To edit 
the project level notify settings, ensure the project owner has Push permission 
already granted for the refs/meta/config branch.”

If it turns out you need something from the LF feel free to open a ticket with 
them or just let me know and ill open it..

Hope this helps,

Ed

P.S.  This should SEND the email…of course additional hoops may need to be 
navigated depending on the receiver..  Non member trying to post type bounces.


On Nov 13, 2018, at 5:41 AM, Ole Troan 
mailto:otr...@employees.org>> wrote:

Eds, et al,

At some point in the past we discussed adding a trigger in gerrit to generate 
an email alerting adjacency projects about VPP API changes.
Basically any change in a .api file.

Is that something possible to do?

Best regards,
Ole

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11230): https://lists.fd.io/g/vpp-dev/message/11230
Mute This Topic: https://lists.fd.io/mt/28122200/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] inet raw socket

2018-11-13 Thread Florin Coras
Option 3.5, if one plans to use any of the transport protocols, would be to 
write a builtin application, as opposed to using vcl/raw session layer apis. 

Florin

> On Nov 12, 2018, at 11:47 PM, Ole Troan  wrote:
> 
> Hi again,
> 
>> yes, we have a control plane, and the protocols I mentioned below run in the 
>> control plane.
>> when these protocols want to send packets, they organize their own protocol 
>> data then call inet raw socket to set the IP header and link header. when 
>> received a packet from the interface, first we will stripe the link header 
>> and ip header then hand over to the corresponding modules through inet raw 
>> socket. Now can you know what I want to do? 
> 
> There are a number of ways a control plane can (or could) integrate with VPP.
> Which one is most suitable for you depends.
> 
> 1) Mirror interfaces. As described in 
> https://wiki.fd.io/view/VPP_Sandbox/router
> Each VPP interface is mirrored as a Linux TAP interface. Any traffic destined 
> to an interface address in VPP is forwarded to the TAP interface.
> Any packet received on the TAP interface is shipped out the physical 
> interface.
> All Linux tools and applications work unchanged. Including use of raw sockets.
> A all or nothing approach. And might not be suitable for cases with lots of 
> (virtual) interfaces.
> 
> 2) Separate punt interface. Transport using memif and/or Unix domain socket.
> Control plane registeres with VPP which protoocols it wants. E.g. a DHCP 
> server registeres for UDP port 69,
> an IPv6 ND daemon registres for a set of ICMPv6 types.
> Raw packets sent over transport with meta data. Likewise when CP sends 
> packet, it includes meta-data to specify outgoing interface and/or VPP 
> processing graph node.
> See https://git.fd.io/vpp/tree/src/vnet/ip/punt.h#n44
> This is currently only used by https://pypi.org/project/dhcpkit-vpp/
> Gaps:
> - Missing selectors (only UDP supported)
> - Missing transports (only UDS)
> - Missing throttling and QoS
> 
> 3) Integrate with VPP host stack.
> For TCP VPP exposes an API that control plane applications can use.
> I plan to put a Python wrapper on top of VCL and integrate with exaBGP.
> This approach is of course limited to whatever VCL supports.
> But in theory VCL could give a full socket-like API.
> 
> 4) Integrated in VPP
> Write the control plane functions as VPP plugins.
> This is how ND, ARP, DHCP and a few others are done.
> 
> Any others?
> 
> Personally I would like to do more work on 2.
> What’s your view?
> 
> Best regards,
> Ole
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#11212): https://lists.fd.io/g/vpp-dev/message/11212
> Mute This Topic: https://lists.fd.io/mt/27857220/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11229): https://lists.fd.io/g/vpp-dev/message/11229
Mute This Topic: https://lists.fd.io/mt/27857220/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] packet capture

2018-11-13 Thread Bly, Mike
Yichen,

Thank you for confirming what I thought would be the answer. Span it is.

-Mike

From: Yichen Wang (yicwang) 
Sent: Tuesday, November 13, 2018 11:08 AM
To: Bly, Mike 
Cc: vpp-dev@lists.fd.io
Subject: [**EXTERNAL**] Re: [vpp-dev] packet capture

You can create a span ports, with SRC interface is your VirtualEthernet, and 
DST interface to be a tap interface. Then you run easily run tcpdump from 
kernel side for your packet capture.

Thanks very much!
Regards,
Yichen

On Nov 13, 2018, at 09:36, Bly, Mike mailto:m...@ciena.com>> 
wrote:

Ed, et al,

pcap works fine for DPDK controlled NICs, and I am assuming tcpdump can still 
be used for tap based internal connections, but what can be used for vhost-user 
interfaces?

Regards,

Mike
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11225): https://lists.fd.io/g/vpp-dev/message/11225
Mute This Topic: https://lists.fd.io/mt/10642670/675839
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[yicw...@cisco.com]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11228): https://lists.fd.io/g/vpp-dev/message/11228
Mute This Topic: https://lists.fd.io/mt/10642670/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] packet capture

2018-11-13 Thread Yichen Wang via Lists.Fd.Io
You can create a span ports, with SRC interface is your VirtualEthernet, and 
DST interface to be a tap interface. Then you run easily run tcpdump from 
kernel side for your packet capture.

Thanks very much!

Regards,
Yichen

On Nov 13, 2018, at 09:36, Bly, Mike mailto:m...@ciena.com>> 
wrote:


Ed, et al,

pcap works fine for DPDK controlled NICs, and I am assuming tcpdump can still 
be used for tap based internal connections, but what can be used for vhost-user 
interfaces?

Regards,

Mike

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11225): https://lists.fd.io/g/vpp-dev/message/11225
Mute This Topic: https://lists.fd.io/mt/10642670/675839
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[yicw...@cisco.com]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11227): https://lists.fd.io/g/vpp-dev/message/11227
Mute This Topic: https://lists.fd.io/mt/10642670/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] ip4-load-balance

2018-11-13 Thread Ray Kinsella

Mystery solved,

I was missing the interface on the IP Route.

ip route add count 1 20.20.20.0/24 via 1.1.1.2 TenGigabitEthernet83/0/1

Ray K

On 13/11/2018 15:39, Ray Kinsella wrote:

Folks,

I have configuring my system to get something comparable to CSIT 
performance and I am a few mpps off at the moment, using FD.io VPP 18.07.


I duplicated the IPv4 Base and Scale Test Cases (and environment) 
locally and I end up with extra graph node 'ip4-load-balance' in my 
pipeline?


CSIT records the following pipeline in Test Operation Data.
https://docs.fd.io/csit/rls1807/report/test_operational_data

Thread 1 vpp_wk_0 (lcore 2)
  Time 5.7, average vectors/node 245.79, last 128 main loops 13.03 per 
node 151.64

    vector rates in 1.2082e7, out 1.2082e7, drop 0.e0, punt 0.e0
   Name State Calls  Vectors 
    Suspends Clocks   Vectors/Call
  TenGigabitEtherneta/0/0-output   active 140125 
34429184   0  8.41e0  245.70
  TenGigabitEtherneta/0/0-tx   active 140125 
34429184   0  4.09e1  245.70
  TenGigabitEtherneta/0/1-output   active 140071 
34428928   0  8.58e0  245.79
  TenGigabitEtherneta/0/1-tx   active 140071 
34428928   0  3.93e1  245.79
  dpdk-input   polling    140580 
68858112   0  6.07e1  489.81
  ip4-input-no-checksum    active 280127 
68858112   0  2.05e1  245.81
  ip4-lookup   active 280127 
68858112   0  3.03e1  245.81
  ip4-rewrite  active 280127 
68858112   0  2.92e1  245.81



I get the following pipeline, with the additional graph node - 
ip4-load-balance.


Thread 2 vpp_wk_1 (lcore 20)
Time 188.9, average vectors/node 256.00, last 128 main loops 14.00 per 
node 256.00

   vector rates in 9.3287e6, out 9.3287e6, drop 0.e0, punt 0.e0
  Name State Calls  Vectors 
   Suspends Clocks   Vectors/Call
TenGigabitEthernet83/0/1-outpu   active    6881842 
1761751552   0  8.46e0  256.00
TenGigabitEthernet83/0/1-tx  active    6881842 
1761751552   0  5.53e1  256.00
dpdk-input   polling   6881842 
1761751552   0  8.58e1  256.00
ip4-input-no-checksum    active    6881842 
1761751552   0  2.19e1  256.00
ip4-load-balance active    6881842 
1761751552   0  1.68e1  25

6.00
ip4-lookup   active    6881842 
1761751552   0  2.80e1  256.00
ip4-rewrite  active    6881842 
1761751552   0  2.89e1  256.00


Any idea where ip4-load-balance is coming from?

Ray K

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11223): https://lists.fd.io/g/vpp-dev/message/11223
Mute This Topic: https://lists.fd.io/mt/28123777/675355
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [m...@ashroe.eu]
-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11226): https://lists.fd.io/g/vpp-dev/message/11226
Mute This Topic: https://lists.fd.io/mt/28123777/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] packet capture

2018-11-13 Thread Bly, Mike
Ed, et al,

pcap works fine for DPDK controlled NICs, and I am assuming tcpdump can still 
be used for tap based internal connections, but what can be used for vhost-user 
interfaces?

Regards,

Mike
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11225): https://lists.fd.io/g/vpp-dev/message/11225
Mute This Topic: https://lists.fd.io/mt/10642670/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] Deprecation of old stats framework (stats.api)

2018-11-13 Thread Ole Troan
Guys,

With the introduction of the new stats framework we want to deprecate the old.
I don’t think there is a clear date for when that will happen yet.
I put in a gerrit to show what the changes would be:
https://gerrit.fd.io/r/#/c/15907/ 

Could those of you depending on src/vpp/stats/stats.api please contact me, 
directly or via the list, so we can work out a plan for getting you onto the 
new framework?

Best regards,
Ole-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11222): https://lists.fd.io/g/vpp-dev/message/11222
Mute This Topic: https://lists.fd.io/mt/28122397/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] Regarding vlib_worker_thread_barrier_sync_int

2018-11-13 Thread Prashant Upadhyaya
Sorry about this, this was a brain-freeze case.
I was made to realize that it is the wait_at_barrier field initialized
to 1 and not workers_at_barrier
Once again sorry for spamming on this one. Everything's fine here.

Regards
-Prashant

On Tue, Nov 13, 2018 at 5:50 PM Prashant Upadhyaya
 wrote:
>
> Hi,
>
> I am on VPP 18.01.
>
> I see the following while loop in the
> vlib_worker_thread_barrier_sync_int function
> (src/vlib/threads.c)
>  while (*vlib_worker_threads->workers_at_barrier != count)
> {
>   if ((now = vlib_time_now (vm)) > deadline)
> {
>   fformat (stderr, "%s: worker thread deadlock\n", __FUNCTION__);
>   os_panic ();
> }
> }
> Suppose I have 4 workers (and 1 main thread), so the value of count will be 4.
> Each worker bumps up the workers_at_barrier by 1.
> So if the while loop in its sampling misses seeing the value bumping
> by the third worker, and the 4th worker bumps up the value, then
> workers_at_barrier will become 5 and the while will never break
> eventually missing the deadline.
>
> I am seeing this happening occasionally on some of my setups.
>
> Do you think it is safe to change the while like this instead  ?
>
> while (*vlib_worker_threads->workers_at_barrier <= count)
>
> Regards
> -Prashant
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#11218): https://lists.fd.io/g/vpp-dev/message/11218
> Mute This Topic: https://lists.fd.io/mt/28122014/1005467
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [praupadhy...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11221): https://lists.fd.io/g/vpp-dev/message/11221
Mute This Topic: https://lists.fd.io/mt/28122014/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] VPP not starting under centos on VIRL

2018-11-13 Thread Dave Barach via Lists.Fd.Io
Try fixing this problem, reported in the Jenkins job log:


Identified problems


virl nfs mount failure

virl simulated node not mounting nfs directory properly
Indication 
1



From: vpp-dev@lists.fd.io  On Behalf Of Jan Gelety via 
Lists.Fd.Io
Sent: Tuesday, November 13, 2018 4:40 AM
To: vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: [vpp-dev] VPP not starting under centos on VIRL

Hello,

last runs of csit semi-weekly job [0] that verifies newest available vpp builds 
failed because vpp didn't start correctly:

09:49:13.792

TRACE

exec_command on ('10.30.53.124', 22) with timeout 30: sudo -S vppctl show pci


09:49:13.895

TRACE

exec_command on ('10.30.53.124', 22) took 0.103289842606 seconds


09:49:13.895

TRACE

return RC 1


09:49:13.896

TRACE

return STDOUT


09:49:13.896

TRACE

return STDERR clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such 
file or directory


During vpp startup we can see following (sudo -S journalctl --no-pager 
--unit=vpp --since="$(echo `systemctl show -p ActiveEnterTimestamp vpp` | awk 
'{print $2 $3}')"):

Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:145: libmbedcrypto.so.2: cannot 
open shared object file: No such file or directory
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:146: Failed to load plugin 
'tlsmbedtls_plugin.so'
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:189: Loaded plugin: 
tlsopenssl_plugin.so (openssl based TLS Engine)
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:117: Plugin disabled (default): 
unittest_plugin.so
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:189: Loaded plugin: 
vmxnet3_plugin.so (VMWare Vmxnet3 Device Plugin)
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: tls_init_ca_chain:748: 
Could not initialize TLS CA certificates
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: tls_openssl_init:819: 
failed to initialize TLS CA chain
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: tls_init_ca_chain:748: Could not 
initialize TLS CA certificates
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: tls_openssl_init:819: failed to 
initialize TLS CA chain
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: Failed to read CPU-specific 
counter table
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: Failed to read 
CPU-specific counter table
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: Please install the 
vpp-dev package and then:
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: cd 
/usr/share/vpp/plugins/perfmon; sudo tar Jxf PerfmonTables.tar.xz
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: and restart vpp.
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: unix_proc_file_contents: 
open `/usr/share/vpp/plugins/perfmon/haswell_core_v28.json':
No such file or directory Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: 
Please install the vpp-dev package and then:
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: cd 
/usr/share/vpp/plugins/perfmon; sudo tar Jxf PerfmonTables.tar.xz
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: and restart vpp.
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: unix_proc_file_contents: open 
`/usr/share/vpp/plugins/perfmon/haswell_core_v28.json': No such file or 
directory

Pacakges installed:
=
Package  Arch  Version Repository   
Size
=
vpp  x86_64 19.01-rc0~231_g8966638~b5521  installed 
   2.5 M
vpp-devel x86_64 19.01-rc0~231_g8966638~b5521  installed
12 M
vpp-lib  x86_64 19.01-rc0~231_g8966638~b5521  installed 
   12 M
vpp-plugins   x86_64 19.01-rc0~231_g8966638~b5521  installed
62 M
vpp-selinux-policyx86_64 19.01-rc0~231_g8966638~b5521  installed
85 k


Could somebody have a look on it, please?

Thanks,
Jan

[0] 
https://jenkins.fd.io/view/csit/job/csit-vpp-verify-master-centos7-semiweekly/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11217): https://lists.fd.io/g/vpp-dev/message/11217
Mute This Topic: https://lists.fd.io/mt/28121329/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] MemIf when security is not a concern

2018-11-13 Thread satish . gundu
Hi ,

I read / hear in the fd.io videos that memif's main motto is to have a secure 
point to point connection between two VPP apps.
If lets say, security is not a concern and I would want to have communication 
between a VPP-dataplane-application and a user-space-control-plane-entity in a 
container world, which is a better choice ? Does Unix domain socket suffices ? 
If I use UDS, then is there any standard piece of code in VPP, which can poll 
all the UDS ?

Appreciate your inputs on this.

Thanks,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11216): https://lists.fd.io/g/vpp-dev/message/11216
Mute This Topic: https://lists.fd.io/mt/28121643/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] MemIf with non-VPP userspace appliation

2018-11-13 Thread satish . gundu
Hi ,

A novice to  VPP world. 

Trying out VPP memif communication between VPP-dataplane and another process ( 
which is a non-VPP application ).
When we do this, I have to do the IP/UDP processing within the application 
which is kind of duplication of the entire IP/UDP stack ( atleast checksum 
verficiations and fragmentation/ reassembly logic ). This seems to be a big 
overhead in terms of the code maintainance.
Please let me know, if this is a correct way to use Memif mechanism (or) Is it 
designed only for communication between two VPP applications.

Thanks,
Satish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11215): https://lists.fd.io/g/vpp-dev/message/11215
Mute This Topic: https://lists.fd.io/mt/28121612/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] how to set cb for keepalive of vapi-connection @ 18.10

2018-11-13 Thread Klement Sekera via Lists.Fd.Io
Hi,
if you ask vapi to handle keepalives for you, why would you want to get
callbacks for them?

Regards,
Klement

Quoting wangchuan...@163.com (2018-11-13 07:27:33)
>Hi��
>    At vpp stable/18.10, using vapi_connect to connect vpp and set the
>"bool handle_keepalives " to true,
>But how can i add the cb for keepalives?
>If do, does it means that I could judge the timespan to found the
>disconnection , and need to reconnect using vapi_disconnect & vpai_connect
>?
>Thanks !
> 
>--
> 
>wangchuan...@163.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11214): https://lists.fd.io/g/vpp-dev/message/11214
Mute This Topic: https://lists.fd.io/mt/28120658/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] VPP not starting under centos on VIRL

2018-11-13 Thread Jan Gelety via Lists.Fd.Io
Hello,

last runs of csit semi-weekly job [0] that verifies newest available vpp builds 
failed because vpp didn't start correctly:

09:49:13.792

TRACE

exec_command on ('10.30.53.124', 22) with timeout 30: sudo -S vppctl show pci


09:49:13.895

TRACE

exec_command on ('10.30.53.124', 22) took 0.103289842606 seconds


09:49:13.895

TRACE

return RC 1


09:49:13.896

TRACE

return STDOUT


09:49:13.896

TRACE

return STDERR clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such 
file or directory


During vpp startup we can see following (sudo -S journalctl --no-pager 
--unit=vpp --since="$(echo `systemctl show -p ActiveEnterTimestamp vpp` | awk 
'{print $2 $3}')"):

Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:145: libmbedcrypto.so.2: cannot 
open shared object file: No such file or directory
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:146: Failed to load plugin 
'tlsmbedtls_plugin.so'
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:189: Loaded plugin: 
tlsopenssl_plugin.so (openssl based TLS Engine)
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:117: Plugin disabled (default): 
unittest_plugin.so
Nov 12 03:49:12 sut1 vpp[1455]: load_one_plugin:189: Loaded plugin: 
vmxnet3_plugin.so (VMWare Vmxnet3 Device Plugin)
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: tls_init_ca_chain:748: 
Could not initialize TLS CA certificates
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: tls_openssl_init:819: 
failed to initialize TLS CA chain
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: tls_init_ca_chain:748: Could not 
initialize TLS CA certificates
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: tls_openssl_init:819: failed to 
initialize TLS CA chain
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: Failed to read CPU-specific 
counter table
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: Failed to read 
CPU-specific counter table
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: Please install the 
vpp-dev package and then:
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: cd 
/usr/share/vpp/plugins/perfmon; sudo tar Jxf PerfmonTables.tar.xz
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: perfmon: and restart vpp.
Nov 12 03:49:12 sut1 vpp[1455]: /usr/bin/vpp[1455]: unix_proc_file_contents: 
open `/usr/share/vpp/plugins/perfmon/haswell_core_v28.json':
No such file or directory Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: 
Please install the vpp-dev package and then:
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: cd 
/usr/share/vpp/plugins/perfmon; sudo tar Jxf PerfmonTables.tar.xz
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: perfmon: and restart vpp.
Nov 12 03:49:12 sut1 /usr/bin/vpp[1455]: unix_proc_file_contents: open 
`/usr/share/vpp/plugins/perfmon/haswell_core_v28.json': No such file or 
directory

Pacakges installed:
=
Package  Arch  Version Repository   
Size
=
vpp  x86_64 19.01-rc0~231_g8966638~b5521  installed 
   2.5 M
vpp-devel x86_64 19.01-rc0~231_g8966638~b5521  installed
12 M
vpp-lib  x86_64 19.01-rc0~231_g8966638~b5521  installed 
   12 M
vpp-plugins   x86_64 19.01-rc0~231_g8966638~b5521  installed
62 M
vpp-selinux-policyx86_64 19.01-rc0~231_g8966638~b5521  installed
85 k


Could somebody have a look on it, please?

Thanks,
Jan

[0] 
https://jenkins.fd.io/view/csit/job/csit-vpp-verify-master-centos7-semiweekly/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11213): https://lists.fd.io/g/vpp-dev/message/11213
Mute This Topic: https://lists.fd.io/mt/28121329/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-