Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Satish
OK Thanks Florin will try as you suggested. On Thu, Mar 29, 2018 at 6:58 PM, Florin Coras wrote: > It seems that the udpserver app is trying to read on a session that vcl > hasn’t yet marked as open. Are you by chance calling read on a listen > session (i.e., before

Re: [vpp-dev] Semantics of field 'link_speed' in 'sw_interface_details' API.

2018-03-29 Thread Chris Luke
That only really leaves us one order of magnitude of growth…! :) Chris From: on behalf of Damjan Marion Date: Thursday, March 29, 2018 at 12:53 To: "vpp-dev@lists.fd.io" Cc: "vpp-dev@lists.fd.io" Subject:

[vpp-dev] Some DS Lite Questions

2018-03-29 Thread Jon Loeliger
Matus, et al, I am looking at the DS Lite CLI and API calls. I have a few questions. Is there no way to remove either the B4 or AFTR tunnel endpoint once it is set? It seems there is maybe a missing dslite_pool_addr_dump API call? Is there a future for the ip4_addr fields on the "set B4" and

Re: [vpp-dev] Semantics of field 'link_speed' in 'sw_interface_details' API.

2018-03-29 Thread Damjan Marion
Yes, but too late for 18.04. We can do that change later after rc1 is out. I personally prefer that we simply keep speed as numeric value in 1kbps steps. That should be fine for up to 4Tbps. > On 27 Mar 2018, at 14:58, Dmitry Vakhrushev wrote: > > Hi, > > Changes in

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Damjan Marion
Why you cannot use uio_pci_generic or even better vfio-pci in no-iommu mode instead of igb_uio? > On 29 Mar 2018, at 20:18, Yichen Wang wrote: > > This is a general questions of Linux. Proper way is (1) Install the kernel > modules; (2) Create /etc/modules-load.d/.conf so

Re: [vpp-dev] building on Alpine Linux, MUSL C Lib

2018-03-29 Thread Damjan Marion
I went that way few weeks ago, but seems that DPDK is not very friendly to MUSL so I stopped. Is your use case without DPDK? > On 29 Mar 2018, at 11:41, Andreas Schultz > wrote: > > Hi, > > Has anyone succeded in building VPP on Alpine Linux with the MUSL C

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Yichen Wang
This is a general questions of Linux. Proper way is (1) Install the kernel modules; (2) Create /etc/modules-load.d/.conf so KO will automatically being loaded More practical way, or for development: (1) If you have a systemd managed VPP service, you can add these commands in the systemd

Re: [vpp-dev] opensuse gerrit jobs failing

2018-03-29 Thread Dave Barach
This package changes roughly once per vpp release, and then only if the new DPDK release happens to need it. It would be well worth caching a copy… D. From: vpp-dev@lists.fd.io On Behalf Of Ed Kern (ejk) Sent: Thursday, March 29, 2018 10:53 AM To: vpp-dev@lists.fd.io Cc:

Re: [vpp-dev] opensuse gerrit jobs failing

2018-03-29 Thread Ed Kern
Hey nitin, All over last weekend and apparently whenever this job was run the nasm download site was to put it technically….totally busted. (7) Failed to connect to www.nasm.us port 80: Connection refused And thats what you see in your logs as well. Whats annoying to

[vpp-dev] opensuse gerrit jobs failing

2018-03-29 Thread Nitin Saxena
Hi, In gerrit patch: https://gerrit.fd.io/r/#/c/10148/ I am seeing opensuse job failures in master branch. I tried rechecking multiple times. Errors I have been seeing are following: https://jenkins.fd.io/job/vpp-verify-master-opensuse/2627/console 10:45:30 curl: (6)

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Florin Coras
It seems that the udpserver app is trying to read on a session that vcl hasn’t yet marked as open. Are you by chance calling read on a listen session (i.e., before accept returns?). As previously mentioned on the list, the session layer does not support connectionless transports so protocols

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Satish
Hi Florin, I get the below error reported in VPP when we start the app. vpp# 0: vl_mem_send_client_keepalive_w_reg:539: REAPER: binary API client 'ldp-2673-app' died 0: svm_client_scan_this_region_nolock:1247: /vpe-api: cleanup ghost pid 2673 0: svm_client_scan_this_region_nolock:1247: /vpe-api:

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Florin Coras
Could you retry udp and see if it reports an error? Thanks, Florin > On Mar 29, 2018, at 3:25 PM, Satish wrote: > > Hi Florin, > > Looks like server is not successfully UP when we use UDP APP. But on TCP it > is successful. Below is the app server details. > > UDP: >

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Satish
Hi Florin, Looks like server is not successfully UP when we use UDP APP. But on TCP it is successful. Below is the app server details. *UDP:* vpp# show app server Connection App vpp# *TCP:* vpp# show app server Connection App [#0][T]

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Florin Coras
Hi Satish, What does “show app server” report? Thanks, Florin > On Mar 29, 2018, at 3:14 PM, Satish wrote: > > Hi, > > I am trying to use Host stack of VPP for UDP connection through VCL library. > Server application listen on port 7891. > > But when i try to

[vpp-dev] VCL UDP connection failure

2018-03-29 Thread Satish
Hi, I am trying to use Host stack of VPP for UDP connection through VCL library. Server application listen on port 7891. But when i try to connect to this server, the connection is not successful saying (no listener). But the same app when i change to use TCP it works fine. Below is the trace

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Yichen Also do I have to insmod the igb_uio or this can be done auto by vpp ? where to put it ? Regards Avi > -Original Message- > From: Avi Cohen (A) > Sent: Thursday, 29 March, 2018 2:34 PM > To: 'Yichen Wang (yicwang)'; vpp-dev@lists.fd.io > Subject: RE: [vpp-dev] virtio devices add

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Great Yichen, I see that the interfaces should be down before VPP startup, otherwise it does not acquire the interface Best Regards Avi > -Original Message- > From: Yichen Wang (yicwang) [mailto:yicw...@cisco.com] > Sent: Thursday, 29 March, 2018 9:45 AM > To: Avi Cohen (A);

[vpp-dev] building on Alpine Linux, MUSL C Lib

2018-03-29 Thread Andreas Schultz
Hi, Has anyone succeded in building VPP on Alpine Linux with the MUSL C Lib? It seems that -D_GNU_SOURCE is required for almost anything, but there are still plenty of missing prototypes. Andreas -- -- Dipl.-Inform. Andreas Schultz --- enabling your networks

Re: [vpp-dev] virtio devices add to white list

2018-03-29 Thread Avi Cohen (A)
Or maybe this is impossible to acquire theses linux interfaces in the VPP. Should I create a host-interface (af-packet) to connect this interface ? For example to connect ens3 interface vppctl create host-interface name ens3 ? Regards Avi > -Original Message- > From: Avi Cohen (A) >