Re: [vpp-dev] VPP's host stack VRF aware

2017-12-28 Thread Florin Coras
Hi Akshaya, Yes it is, via app namespaces. You can configure application namespaces via binary api or “app ns” cli. For instance: app ns id secret sw_if_index The secret is a shared secret between vpp and the app while the sw_if_index is the index of an interface that ‘supports’ the names

Re: [vpp-dev] Apache traffic server with VCL+LD_PRELOAD

2018-01-05 Thread Florin Coras
Alberto, From the error messages, it seems you’re trying to bind to a non 0 address that does not pertain to any interface in the fib table you’re connecting through. Are you using namespaces? Florin > On Jan 5, 2018, at 7:10 AM, Alberto Compagno (acompagn) > wrote: > > Hi, > > I’m tryin

Re: [vpp-dev] Apache traffic server with VCL+LD_PRELOAD

2018-01-08 Thread Florin Coras
> /opt/ts/bin/traffic_server(_ZN18UnixNetVConnection4freeEP7EThread+0xaf)[0x771c1f] > /lib/x86_64-linux-gnu/libc.so.6(strlen+0x26)[0x7f9d27db4746] > /usr/lib/x86_64-linux-gnu/libvcl_ldpreload.so.0.0.0(va_format+0xc8b)[0x7f9d2a5a6dbb] > /opt/ts/bin/traffic_server(_ZN18UnixNetVConnection11acceptE

[vpp-dev] Proposal to remove ssvm_eth

2018-01-12 Thread Florin Coras
Hi everyone, I’m in the process of cleaning up the ssvm code and realized some of the data structures have fields that are only used within the ssvm_eth code. Since we now have memif, and nobody is really maintaining ssvm_eth, I’d like to remove the code. Therefore, does anybody have somethi

Re: [vpp-dev] crash in bfd api

2018-01-15 Thread Florin Coras
Hi Gabriel, Apologies about that! It’s just a tricky one line. I missed the & in front of rmp :( You have the patch here [1]. Just let me know if it solves the issue and thanks for testing! Cheers, Florin [1] https://gerrit.fd.io/r/#/c/10108/ > On Jan 15

Re: [vpp-dev] vcl preload usage error

2018-01-18 Thread Florin Coras
Hi Chunmei, The first error says you’re trying to bind multiple times to the same address, which is not supported. You’re getting the second error because you don’t have a fib path to the destination of your connect. Hope this helps, Florin > On Jan 17, 2018, at 3:55 PM, Liu, Chunmei wrote

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
Hi Dad, Did you try the evergreen: make wipe make install-dep make build Cheers, Florin > On Jan 24, 2018, at 10:57 AM, Jon Loeliger wrote: > > Hey Kids, > > The new API Gen seems to want ply.lex, but I don't think > it is listed as a dependency or something somewhere. Or > maybe I have

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
> On Jan 24, 2018, at 11:15 AM, Jon Loeliger wrote: > > > > On Wed, Jan 24, 2018 at 1:10 PM, Florin Coras <mailto:fcoras.li...@gmail.com>> wrote: > Hi Dad, > > LOL. I deserved that. At least I didn't get "Hi Old Man". :-) :-D >

Re: [vpp-dev] Missing PLY ?

2018-01-24 Thread Florin Coras
> On Jan 24, 2018, at 11:34 AM, Jon Loeliger wrote: > >> Did you try the evergreen: >> >> make wipe >> make install-dep >> make build >> >> Yeah, have done a "make install-dep" a couple times now >> and it doesn't improve things at all. >> >> I seem to be using python 2.7.5. > > This seems

Re: [vpp-dev] [csit-dev] VPP 18.01 Release artifacts are now available on nexus.fd.io

2018-01-24 Thread Florin Coras
Awesome! Thanks for making this happen, Dave! Florin > On Jan 24, 2018, at 9:23 PM, Dave Wallace wrote: > > Folks, > > The VPP 18.01 Release artifacts are now available on nexus.fd.io > > The ubuntu.xenial and centos packages can be installed following the recipe > on the wiki:https://wiki.

Re: [vpp-dev] recovering from a crash with the C shared memory API

2018-01-26 Thread Florin Coras
Hi Matt, I tried reproducing this with vpp + vat. Is this a fair equivalent scenario? 1. Start vpp and attach vpp_api_test and send some msg 2. Restart vpp and stop vat 3. Restart vat and send message. The thing is, off of master, this works for me. Thanks, Florin > On Jan 26, 2018, at 2:3

Re: [vpp-dev] recovering from a crash with the C shared memory API

2018-01-29 Thread Florin Coras
ient_disconnect:301: peer unresponsive, give up > > Step 6 hangs for a couple of minutes and then prints: > > vl_map_shmem:639: region init fail > connect_to_vlib_internal:398: vl_client_api map rv -2 > Couldn't connect to vpe, exiting… > > > > Are you abl

Re: [vpp-dev] out of memory when adding > 64k routes

2018-01-29 Thread Florin Coras
Hi Matt, I’ll let Neale provide more details but I think that what you’re looking for is to start vpp with ip {heap-size } Cheers, Florin > On Jan 29, 2018, at 1:24 PM, Matthew Smith wrote: > > > Hi, > > I’ve been trying to insert a large set of routes into VPP’s FIB. VPP keeps > exiting

Re: [vpp-dev] VPP FD in a linux epoll

2018-01-31 Thread Florin Coras
Shashi, No. VCL session ids are not valid Linux fds. Florin > On Jan 31, 2018, at 3:21 AM, Shashi Kant Singh wrote: > > Hi > > I have created VPP session and the UDP FD for the same in my client program. > > Would it ok to add this FD in a unix epoll (instead of vppcom_epoll_wait) > al

Re: [vpp-dev] Guidance on using UDP / TCP built-in servers

2018-02-01 Thread Florin Coras
Hi Shaun, Those have recently been moved to session-apps. The short cli help should give you an idea of how to configure them: “test echo server ?" For starters, doing something like: "test echo server uri :///" starts a server that listens on the ip:port tuple for the transport requested. On

Re: [vpp-dev] unformat %s eats newlines

2018-02-02 Thread Florin Coras
Not exactly the most elegant solution but have you tried adding a space after the string to be parsed? Florin > On Feb 2, 2018, at 9:47 AM, Andreas Schultz > wrote: > > A typical construct to parse arguments is to use unformat in a while loop > that checks for UNFORMAT_END_OF_INPUT. > For mu

Re: [vpp-dev] New fd.io vpp project committer vote: Marco Varlese

2018-02-06 Thread Florin Coras
ntil folks have voted. > > Thanks… Dave > > From: Dave Barach (dbarach) > Sent: Tuesday, February 6, 2018 8:56 AM > To: Keith Burns (krb) mailto:k...@cisco.com>>; Florin Coras > (fcoras) mailto:fco...@cisco.com>>; John Lo (loj) > mailto:l...@cisco.com>>; Luke, C

Re: [vpp-dev] VXLAN Tunnel IF Names

2018-02-07 Thread Florin Coras
.. aand then one of the calls in the batch fails. Why not use a shim layer that on the one hand fits what Neale was saying and on the other it accepts batches and handles failures. Say .. netconf? :-) Florin > On Feb 7, 2018, at 2:10 PM, Ed Warnicke wrote: > > Neale, > > I think this really

Re: [vpp-dev] Congrats to Marco Varlese on his election as a vpp project committer

2018-02-08 Thread Florin Coras
Congrats, Marco! Florin > On Feb 8, 2018, at 8:23 AM, Dave Barach (dbarach) wrote: > > It gives me great pleasure to announce Marco’s election as a vpp project > committer, confirmed a few minutes ago by the fd.io vpp TSC. > > Vanessa V. will take care of [+2 button] mechanic

Re: [vpp-dev] TCP Throughput testing

2018-02-13 Thread Florin Coras
Hi Ray, Interesting. What happens if you add: test-timeout 100 to the client cli? Florin > On Feb 13, 2018, at 7:35 AM, Ray Kinsella wrote: > > Hi folks, > > I am messing around trying to do some throughput testing with v18.01 VPP TCP > and I keep ending up getting the error "stuck clients"

Re: [vpp-dev] TCP Throughput testing

2018-02-13 Thread Florin Coras
me=64.1253 ms > 64 bytes from 192.168.1.2: icmp_seq=5 ttl=64 time=62.5618 ms > > Ray K > > > On 13/02/2018 16:10, Florin Coras wrote: >> test-timeout 100 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8194): https://lists.fd

Re: [vpp-dev] TCP Throughput testing

2018-02-13 Thread Florin Coras
p_seq=5 ttl=64 time=62.5618 ms > > Ray K > > > On 13/02/2018 16:10, Florin Coras wrote: >> test-timeout 100 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8195): https://lists.fd.io/g/vpp-dev/message/8195 View All Messag

Re: [vpp-dev] TCP Throughput testing

2018-02-14 Thread Florin Coras
Link Hardware > local0 0down local0 > local > memif0/0 1 up memif0/0 > Ethernet address 02:fe:a3:b6:94:cd > MEMIF interface > instance 0 > > > On 13/02/2018 16:37, Florin Coras wrote: >> It w

Re: [vpp-dev] TCP Throughput testing

2018-02-19 Thread Florin Coras
24 bytes (1024 mbytes, 1 gbytes) in 15.53 seconds >> 69154035.62 bytes/second full-duplex >> .5532 gbit/second full-duplex >> Ray K >> On 14/02/2018 15:51, Florin Coras wrote: >>> Hi Ray, >>> >>> The only thing missing with memif is TCO but

Re: [vpp-dev] _mm_testz_si128 Woes

2018-02-19 Thread Florin Coras
That’s .. interesting. Patch set 3 didn’t run all the jobs. Any idea why that would happen? Instead of reverting the patch, here’s a hammer-based attempt at solving the problem [1]. Damjan, feel free to propose a prettier solution :) Florin [1] https://gerrit.fd.io/r/#/c/10660/

Re: [vpp-dev] _mm_testz_si128 Woes

2018-02-19 Thread Florin Coras
since thats built/run for ubuntu) it got a +1 > based on that. > > > I have no idea why the merge happened though…. > > Ed > > > >> On Feb 19, 2018, at 6:37 PM, Florin Coras > <mailto:fcoras.li...@gmail.com>> wrote: >> >> T

Re: [vpp-dev] Errors on compiling NSH plugin with VPP on ubuntu 16.04

2018-02-27 Thread Florin Coras
Hi Deepak, This should be directed at the nsh dev list. Florin > On Feb 27, 2018, at 9:32 AM, .ılı.D'p@k.ılı. wrote: > > Hi, > > I am getting compilation errors with NSH plugin. > I am using the latest VPP and NSH plugin > And also i downgraded and tried with VPP 17.04 and NSH 17.04. > > S

Re: [vpp-dev] Developing application on top of VPP

2018-02-27 Thread Florin Coras
Shashi, You can’t really compare macswap with a full fledged host stack. As you delegate more work to vpp, you should expect a drop in throughput. Also worth noting is that the stack sends/receives byte streams, not single packets and up to transport layer, it does make use of vectorization. T

Re: [vpp-dev] API and use of VLAs

2018-03-01 Thread Florin Coras
In case of memclnt that’s actually a void pointer to be passed to the rpc handler. Unless it complicates life for the API generator, not sure if it’s worth adding the size to the struct. Florin > On Mar 1, 2018, at 9:26 AM, Ole Troan wrote: > > Guys, > > I'd like to clean up these warnings.

Re: [vpp-dev] number of csit-vpp jobs failing on vpp master branch - RCA wip

2018-03-06 Thread Florin Coras
Can it be that you're building the packages with tls support and afterwards you’re installing them on a host without libmbedtls-dev? Florin > On Mar 6, 2018, at 7:51 AM, Marek Gradzki -X (mgradzki - PANTHEON > TECHNOLOGIES@Cisco) wrote: > > + hc2vpp (all hc2vpp csit jobs affected) > > Marek >

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-07 Thread Florin Coras
Could you try again with taps and large rings? create tap rx-ring-size 4096 tx-ring-size 4096 create tap rx-ring-size 4096 tx-ring-size 4096 Configure then the two taps in your namespaces and run iperf again. Hope this helps, Florin > On Mar 7, 2018, at 11:01 AM, Sara Gittlin wrote: > > Th

Re: [vpp-dev] TCP Proxy Through-put

2018-03-07 Thread Florin Coras
Hi Shaun, Glad to see you’re experimenting with the proxy code. Note however that the implementation is literally just a proof of concept. We haven’t spent any time optimizing it. Nonetheless, it would be interesting to understand why this happens. Does the difference between apache and vpp

Re: [vpp-dev] Error during startup

2018-03-07 Thread Florin Coras
Hi Shashi, This can’t possibly be part of 17.10 and 18.01 since it was only merged this week on master. Probably you need to clean your repo, rebuild and reinstall debs. Florin > On Mar 7, 2018, at 7:44 PM, Shashi Kant Singh wrote: > > Hi > > When I try to start vpp with release 17:10 and

Re: [vpp-dev] VPP As A Router Between Namespaces - 10ms latency

2018-03-08 Thread Florin Coras
Great! :-) Florin > On Mar 8, 2018, at 1:42 AM, Sara Gittlin wrote: > > Florin > Thank you - i'm done - i get very good numbers with tap both for > throughput and latency > > -Sara > > On Thu, Mar 8, 2018 at 10:55 AM, Sara Gittlin > wrote: >> Thank you Florin

[vpp-dev] Draft vpp host stack wiki page

2018-03-09 Thread Florin Coras
This took much longer than expected but .. better late than never :-) https://wiki.fd.io/view/VPP/HostStack This is work in progress so expect updates. Regards, Florin

Re: [vpp-dev] Error during startup

2018-03-11 Thread Florin Coras
ailto:vpp-dev@lists.fd.io> > [mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Dave > Barach > Sent: 08 March 2018 18:21 > To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Subject:

Re: [vpp-dev] vcl_test_server/client for UDP

2018-03-17 Thread Florin Coras
Because after enqueueing, the buffers are dropped with error “successfully enqueued”. Check “sh error”. Florin > On Mar 17, 2018, at 1:03 AM, Shashi Kant Singh wrote: > > Hi > > I changed the vcl_test_server / client from TCP to UDP. > > Question: Why does the UDP enqueued marked as error_dro

Re: [vpp-dev] Error while running TCP_ECHO in standalone mode

2018-03-22 Thread Florin Coras
The error says it all. You don’t have the session layer enabled. Do “session enable” from VPP’s cli. Florin > On Mar 22, 2018, at 8:57 AM, Shashi Kant Singh wrote: > > Hi > > I could verify TCP_ECHO as the VPP CLI app but when I run as standalone linux > app then I get this error: > > > [roo

Re: [vpp-dev] UDP ECHO Server

2018-03-22 Thread Florin Coras
Your uri asks for tcp not udp transport service. Florin > On Mar 22, 2018, at 8:25 AM, Shashi Kant Singh wrote: > > Hi > > In the VPP Rel 18:01, I could run the TCP ECHO server as > vpp# test tcp server uri tcp://192.168.180.31/5678 > > But I could not find the udp server being shown under “c

Re: [vpp-dev] UDP ECHO Server

2018-03-22 Thread Florin Coras
st udp server uri udp://192.168.180.31/5678 > > > Is this correct? > > If so, then, it does not give “udp” when I search under test cli > > > Regards > Shashi > > From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Florin > Coras > Sent:

Re: [vpp-dev] UDP ECHO Server

2018-03-22 Thread Florin Coras
p6 kube-proxyl2fib > l2patch lb > lookupmfib one policer proxy > session tcp > vpp# test > > > > I cannot find option to run “echo” under test > > Regards > Sh

Re: [vpp-dev] UDP ECHO Server

2018-03-22 Thread Florin Coras
Try master. Florin > On Mar 23, 2018, at 8:23 AM, Shashi Kant Singh wrote: > > What would be the branch I can try this? > > Regards > Shashi > > > From: Florin Coras [mailto:fcoras.li...@gmail.com > <mailto:fcoras.li...@gmail.com>] > Sent: 23 March

Re: [vpp-dev] UDP ECHO Server

2018-03-23 Thread Florin Coras
(using vpp session apis)? > If not, then I can change socket to UDP and rest would work? > > Regards > Shashi > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > [mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Florin > Coras

Re: [vpp-dev] UDP ECHO Server

2018-03-23 Thread Florin Coras
upack 0 limited_transmit 2735098422 > tsecr 0 tsecr_last_ack 0 > rto 6 rto_boff 9 srtt 0 rttvar 0 rtt_ts 0 rtt_seq 1559868875 > tsval_recent 0 tsval_recent_age 87918962 > > > regards > Shashi > > > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > [m

Re: [vpp-dev] UDP ECHO Server

2018-03-23 Thread Florin Coras
; Shashi > > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > [mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Florin > Coras > Sent: 23 March 2018 14:42 > To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Cc: vpp-dev@li

Re: [vpp-dev] UDP ECHO Server

2018-03-26 Thread Florin Coras
ernal:432: no handler for msg id 21 > > > regards > Shashi > > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > [mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Florin > Coras > Sent: 23 March 2018 17:49 > To: vpp-dev@lists

Re: [vpp-dev] UDP ECHO Server

2018-03-26 Thread Florin Coras
shi-7 vpp]# ./build-root/build-vpp-native/vpp/udp_echo > slave uri udp://192.168.180.30/5678 use-svm-api > (nil): usage [master|slave] > [root@vbbubng6-shashi-7 vpp]# > > > What could be the issue with UDP? > > Regards > Shashi > > > > From: Florin Coras

Re: [vpp-dev] session handlers and UDP packet boundaries?

2018-03-26 Thread Florin Coras
Hi Andreas, Not at this time. It’s on our todo list. Regards, Florin > On Mar 26, 2018, at 12:11 PM, Andreas Schultz > wrote: > > Hi, > > The session app handler converts everything into a byte stream, even datagram > protocols like UDP. Is there a way to recover or keep to original packe

Re: [vpp-dev] session handlers and UDP packet boundaries?

2018-03-28 Thread Florin Coras
layer and the existing apps the expect datagram service. If you’re still interested in more details, let’s take this off list. Florin > On Mar 28, 2018, at 4:36 PM, Andreas Schultz > wrote: > > Hi Florin, > > Florin Coras mailto:fcoras.li...@gmail.com>> schrieb >

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 connect to this server, the

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Florin Coras
19-app > > > Thanks, > Satish. > > > On Thu, Mar 29, 2018 at 5:49 PM, Florin Coras <mailto:fcoras.li...@gmail.com>> wrote: > Hi Satish, > > What does “show app server” report? > > Thanks, > Florin > > > >> On Mar 29, 2018,

Re: [vpp-dev] VCL UDP connection failure

2018-03-29 Thread Florin Coras
com.c:3185 > #6 0x77a9f1e3 in vppcom_session_recvfrom > (session_index=session_index@entry=0, buffer=buffer@entry=0x7fffdf40, > buflen=buflen@entry=1024, flags=flags@entry=0, > ep=ep@entry=0x7fffde10) at /vpp/build-data/../src/vcl/vppcom.c:5602 > #7 0x77

Re: [vpp-dev] 18.04 RC1 is cut, master is open again

2018-04-04 Thread Florin Coras
Awesome! Thanks, Chris! Florin > On Apr 4, 2018, at 7:40 PM, Chris Luke wrote: > > All, > > The stable/1804 branch was created earlier; master is now open again for > general patches. > > I’m not ready to accept fixes on the new stable branch. This is pending > determining why packagecloud ha

Re: [vpp-dev] mbedtls in 18.04

2018-04-05 Thread Florin Coras
Hi Tom, Feel free to remove it as a hard dependency, since the infra should handle it. We now also have support for an openssl engine and as far as I remember, libssl is a hard dependency for the rpm builds. Florin > On Apr 5, 2018, at 5:05 AM, Thomas F Herbert wrote: > > WRT mbedtls: > >

Re: [vpp-dev] segfault due to movaps unaligned access

2018-04-24 Thread Florin Coras
Hi Radu, Making the crypto_worker_main_t a full cache line in size (see patch [1]) seems to solve the issue. Could you confirm? Florin [1] https://gerrit.fd.io/r/#/c/12086/ > On Apr 24, 2018, at 9:23 AM, Radu Nicolau wrote: > > Hello all, > > We’re seeing

Re: [vpp-dev] [csit-dev] VPP 18.04 has been released! Artifacts are available on nexus.fd.io

2018-04-25 Thread Florin Coras
Yay! Thanks, Chris! Florin > On Apr 25, 2018, at 3:52 PM, Chris Luke wrote: > > All, > > I am happy to announce that VPP 18.04 has been released! The release notes > can be found athttps://docs.fd.io/vpp/18.04/release_notes_1804.html > . >

Re: [vpp-dev] segfault due to movaps unaligned access

2018-04-26 Thread Florin Coras
Radu >   <> > <>From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > [mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Florin > Coras > Sent: Tuesday, April 24, 2018 11:25 PM > To: Nicolau, Radu mailto:radu.nico...@intel.com&g

Re: [vpp-dev] segfault due to movaps unaligned access

2018-04-26 Thread Florin Coras
:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Florin > Coras > Sent: Thursday, April 26, 2018 4:13 PM > To: Nicolau, Radu mailto:radu.nico...@intel.com>> > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] segfault due

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

2018-05-07 Thread Florin Coras
Hi Luca, We don’t yet support TSO because it requires support within all of vpp (think tunnels). Still, it’s on our list. As for crypto offload, we do have support for IPSec offload with QAT cards and we’re now working with Ping and Ray from Intel on accelerating the TLS OpenSSL engine also

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

2018-05-07 Thread Florin Coras
; > Thanks for the info. > > So, how do you explain VPP TCP stack beats Linux > implementation by doubling the goodput? > Does it come from vectorization? > Any special memif optimization underneath? > > Luca > > On 7 May 2018, at 18:17, Florin Coras <mail

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

2018-05-07 Thread Florin Coras
ned. > > For our transport stack we’re using memif. Nothing to > do with TCP though. > > Iperf3 to VPP there must be copies anyway. > There must be some batching with timing though > while doing these copies. > > Is there any doc of svm_fifo usage? &g

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

2018-05-09 Thread Florin Coras
ontrol does not like > much VPP batching (batching in general) and we are using DBCG. > > Linux TSO has the same problem but has TCP pacing to limit bad effects of > bursts > on RTT/losses and flow control laws. > > I guess you’re aware of these issues already. > > Luca >

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/

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

2018-05-11 Thread Florin Coras
g to have a latency sample w/ TCP instead of ICMP > we noticed that VPP TCP stack does not reply with a RST. So we don’t get > any sample. Is that expected behavior? > > Thanks > > > Luca > > > > > > From: Luca Muscariello > Date: Thursday 10 May 20

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

2018-05-14 Thread Florin Coras
Hi Luca, That is most probably the reason. We don’t support raw sockets. Florin > On May 14, 2018, at 1:21 AM, Luca Muscariello (lumuscar) > wrote: > > Hi Florin, > > Session enable does not help. > hping is using raw sockets so this must be the reason. > > Luca

Re: [vpp-dev] question about the VCL

2018-05-14 Thread Florin Coras
Hi Xyxue, No, the stack does not support IPPROTO_RAW. Given that this is a user space stack and that you have access to things like memif, may I ask what use case you would need that for? Florin > On May 14, 2018, at 12:58 AM, xyxue wrote: > > > Hi guys, > > Is the VCL support RAW_IP now

Re: [vpp-dev] Using custom openssl with vpp #vpp

2018-05-14 Thread Florin Coras
Hi DucTM, Did you try changing src/plugin/tlsopenssl.am to link against openssl 1.1? I’ve never tried it, so no idea what the end result may be :-) Florin > On May 14, 2018, at 3:52 AM, duct...@viettel.com.vn wrote: > > Hi, > I'm trying to customize the openssl plugin that needs to work with

Re: [vpp-dev] question about the VCL

2018-05-15 Thread Florin Coras
Xyxue, VCL hasn’t yet been updated to work in dgram mode. Try the builtin udp echo client/server or tests/vnet/session/udp_echo. Note however that you can’t expect udp to deliver all the bytes from one end to the other because of packet drops so try half-duplex testing. For some examples see [1

Re: [vpp-dev] gerrit.fd.io froblem access

2018-05-15 Thread Florin Coras
I’m getting in Chrome NET::ERR_CERT_COMMON_NAME_INVALID And dig says: ;; ANSWER SECTION: gerrit.fd.io. 5 IN CNAME dev.fd.io. dev.fd.io. 5 IN A 162.253.54.31 Florin > On May 15, 2018, at 2:50 PM, Dave Barach wrote: > > You might check your

Re: [vpp-dev] gerrit.fd.io froblem access

2018-05-15 Thread Florin Coras
IN CNAME awscloud.fd.io. awscloud.fd.io. 5 IN A 52.10.107.188 Florin > On May 15, 2018, at 3:03 PM, Florin Coras wrote: > > I’m getting in Chrome NET::ERR_CERT_COMMON_NAME_INVALID > > And dig says: > > ;; ANSWER SECTION: > gerrit.fd

Re: [vpp-dev] How to actively close the client connections in http server? #vnet

2018-05-17 Thread Florin Coras
That http server is just example code that executes the contents of a get request as a cli commands within a spawned vpp process. So, if you want to disconnect _after_ the the reply is sent, call vnet_disconnect_session () at the end of http_cli_process. Florin > On May 17, 2018, at 10:52 PM,

[vpp-dev] git.fd.io not updating

2018-05-21 Thread Florin Coras
Hi, It would seem that git.fd.io [1] thinks that we last committed a patch to vpp almost 1 week ago. Any idea what might’ve triggered this? Thanks, Florin [1] https://git.fd.io/vpp/log/

Re: [vpp-dev] Is there a plan to support the udp mode in vcl?

2018-05-22 Thread Florin Coras
Xyxue, It’s on our todo list. In the mean time, you can use the raw session layer apis. For examples see src/tests/vnet/session/udp_echo.c Florin > On May 21, 2018, at 11:08 PM, xyxue wrote: > > Hi Florin, Ed, > > I'm testing the vcl in udp mode. After our debug vpp can receive the udp >

Re: [vpp-dev] git.fd.io not updating

2018-05-22 Thread Florin Coras
> The ECDSA host key for [gerrit.fd.io <http://gerrit.fd.io/>]:29418 has >> changed, >> Surrounded by nasty warnings. >> >> >> On 05/22/2018 02:58 AM, Marco Varlese wrote: >>> Roughly a week ago, I noticed there was a DNS/IP change when cloning a new

Re: [vpp-dev] [FD.io Helpdesk #56282] git.fd.io not updating

2018-05-22 Thread Florin Coras
as a DNS/IP change when cloning a >> new VPP >> repo... I wonder if what I saw is somehow connected to this issue. >> On Mon, 2018-05-21 at 16:34 -0700, Florin Coras wrote: >>> Hi, >>> It would seem that git.fd.io [1] thinks that we last committed a >>

Re: [vpp-dev] VLIB_BUFFER_TOTAL_LENGTH_VALID set but invalid total_length_not_including_first_buffer

2018-05-23 Thread Florin Coras
Hi Yoann, Shouldn’t the clone code only read s->total_length_not_including_first_buffer only if VLIB_BUFFER_NEXT_PRESENT flag is set for s? I’m thinking about this line in particular: d->total_length_not_including_first_buffer = s->total_length_not_including_first_buffer + s->cur

Re: [vpp-dev] gerrit.fd.io very slow?

2018-06-20 Thread Florin Coras
It’s slow on my end as well. Florin > On Jun 20, 2018, at 8:21 AM, Dave Barach via Lists.Fd.Io > wrote: > > Before I start bugging the LF: is anyone else noticing bad performance w/ > gerrit.fd.io ? > > Thanks... Dave > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive al

Re: [vpp-dev] FD.io VPP Docs (Devices)

2018-07-06 Thread Florin Coras
We don’t have ssvm devices anymore. Florin > On Jul 6, 2018, at 9:21 AM, Ray Kinsella wrote: > > Hi Folks, > > The FD.io Docs WG and I are working through the list of FD.io VPP features. > We are hoping to crowd source help by asking specific questions (and > hopefully getting some answers)

Re: [vpp-dev] FD.io VPP Docs (Devices)

2018-07-09 Thread Florin Coras
Out of pure curiosity - was SSVM supported by VPP in the past and the > support was removed ? Or > was it never supported by VPP ? > > Regards, > Rami Rosen > > > On 6 July 2018 at 19:58, Florin Coras wrote: >> We don’t have ssvm devices anymore. >> >> F

Re: [vpp-dev] ONE topology not working #vnet #vpp

2018-07-10 Thread Florin Coras
Hi Saurabh, Glad to see you’re interested in LISP! As the error lower suggests, you first need to enable the lisp code. You can achieve this by doing: “one enable". Note that although “lisp enable” would also have the same result, going forward we plan to deprecate the “lisp” apis in favor of

Re: [vpp-dev] UDP echo server does not work properly with IPsec enabled

2018-07-13 Thread Florin Coras
Hi Berenger, Thanks for the report! There are two issues here. First of all, echo_server/client apps are testing apps that can misbehave is not properly configured. I just tried master with 4 workers for both and with the following configuration: server: test echo server fifo-size 4096 uri u

Re: [vpp-dev] vcl error

2018-07-24 Thread Florin Coras
Hi Terry, From the errors you’re seeing, I can only guess you have configured vcl to attach to the host stack using a local scope. Do you have vcl.conf configured with “app-scope-local” or have you exported VCL_APP_SCOPE_LOCAL environment variable? If yes, try disabling them. If neither global

Re: [vpp-dev] vcl error

2018-07-24 Thread Florin Coras
ip4, ep->ip); > > // to_ip46 first parameter is isipv6, and IP46_TYPE_IP4, IP6 would be always > true, and the bind will copy a wrong IP for v4 case(over stack) > } > > BR//Terry > > -- Original -- > From: "Florin Coras";

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-07-30 Thread Florin Coras
Prashant, Dave is exactly right. If you still want to try out the LDP layer, I wouldn’t set a global LD_PRELOAD variable because that will end up preloading all the applications and, inevitably, to some unsupported usage patterns and crashes. Instead, start only your app with LD_PRELOAD set, s

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-07-31 Thread Florin Coras
hanks! > -Matt > > >> On Jul 30, 2018, at 10:39 AM, Florin Coras > <mailto:fcoras.li...@gmail.com>> wrote: >> >> Prashant, >> >> Dave is exactly right. If you still want to try out the LDP layer, I >> wouldn’t set a global LD_PRELOAD va

Re: [vpp-dev] [discuss] vpp region init fail Couldn't connect to vpe, exiting...

2018-08-01 Thread Florin Coras
Probably the right list would be vpp-...@fd.io . As for your question, is vpp actually up and running? What does ps -ef | grep vpp show? Florin > On Aug 1, 2018, at 10:40 AM, jkzcristiano wrote: > > Hi all, > > This is the first time I write to this group and I am comp

Re: [vpp-dev] Control TCP_NODELAY and TCP_QUICKACK per session

2018-08-02 Thread Florin Coras
Hi Tomasz, We actually have both hardwired to “on" in the the stack. The reason why they’re on VCL’s list is because we don’t have APIs to inspect/modify them. There’s no plan to support Nagle’s algorithm but we should support at some point adaptive acks. Also, in case you haven’t been follo

Re: [vpp-dev] Regarding VPP TCP Stack usage

2018-08-03 Thread Florin Coras
d/or scaling penalty due to > the need to handle both kernel socket based file descriptors and VCL/VPP > created file descriptors with the LD_PRELOAD callback functions. > > Thanks, > -daw- > > On 7/31/18 2:11 PM, Florin Coras wrote: >> Hi Matt, >> >> I’d say

Re: [vpp-dev] About the vppcom_epoll_wait function in vcl

2018-08-03 Thread Florin Coras
Hi Yalei, Are you testing with master latest? Yes, blocking mode will be properly supported. The reason it won’t block now is because we need to poll multiple message queues (vpp’s and cut-through sessions) and -1 is not interpreted as a large number. This will be fixed once we switch from con

Re: [vpp-dev] Assertion fails in external echo server/client

2018-08-06 Thread Florin Coras
Hi YeXin, First of all, do you see this with 18.07 or master? Secondly, I’ve checked out origin/stable/1804 and at line 1126 there’s no attempt to access a pool. Are you testing with rc0 or custom code? Thanks, Florin > On Aug 5, 2018, at 11:29 PM, yexin (F) wrote: > > The version tested i

Re: [vpp-dev] Assertion fails in external echo server/client

2018-08-07 Thread Florin Coras
ong version last time. > > > > - > > YeXin > > > > 发件人: Florin Coras [mailto:fcoras.li...@gmail.com > <mailto:fcoras.li...@gmail.com>] > 发送时间: 2018年8月6日 23:35 > 收件人: yexin (F) mailto:yexi...@huawei.com>> > 抄送: vpp-dev@li

Re: [vpp-dev] About the fifo-size parameter in app tcp_echo

2018-08-08 Thread Florin Coras
Hi Yalei, I guess there’s two solutions to that. Set min_chunk to something like clib_min (16 << 10, fifo_size/2) or remove min_chunk entirely. I’m fine with either of those. Feel free to push a patch! Thanks, Florin > On Aug 8, 2018, at 12:17 AM, 汪亚雷 wrote: > > Hi Florin, > > These days

Re: [vpp-dev] vnet tcp.h include error

2018-08-13 Thread Florin Coras
Hi Korian, Does this [1] solve your problem? Florin [1] https://gerrit.fd.io/r/#/c/14178/ > On Aug 13, 2018, at 7:36 AM, ko wrote: > > Hello Dave, > > I get the same error with 18.07 (from > https://nexus.fd.io/content/repositories/fd.io.stable.1807.ubun

Re: [vpp-dev] tls init server is too heavy

2018-08-13 Thread Florin Coras
:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>] On Behalf Of Yu, > Ping > Sent: Thursday, July 26, 2018 9:26 AM > To: Florin Coras (fcoras) mailto:fco...@cisco.com>>; > vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Cc: Yu, Ping mailto:ping...@intel.com>>

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-14 Thread Florin Coras
Hi Yalei, You have an example of how to write a vcl.conf file in vcl/vcl_test.conf. It’s just an example, so if you want to try out eventfd, here’s what I’ve been recently using: vcl { rx-fifo-size 400 tx-fifo-size 400 app-scope-local app-scope-global api-socket-name /run/vpp

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-15 Thread Florin Coras
seg } > #socksvr { socket-name /run/vpp-api.sock } > > == > root@192.168.122.252:/home/wenjiang/dmm/release/bin (master) $ cat > /etc/vpp/vcl.conf > vcl { > #rx-fifo-size 400 > #tx-fifo-size 400 > app-scope-local > app-scope-global

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-16 Thread Florin Coras
On Aug 16, 2018, at 4:12 AM, 汪亚雷 wrote: > > Thanks Florin, > > It works fine now. :) > And two more questions: > 1. Will eventfd replace the condvar way? it will be the default way for event > queue? > 2. Will socket api replace the vpe api in the future? > > Than

Re: [vpp-dev] TCP retransmission

2018-08-21 Thread Florin Coras
Hi Ping, Just from this, I can’t tell precisely what the issue is. Once the test hangs, do “show session verbose 2” and you should get the detailed status of the sessions that froze. I’ll take a look at those once I’m back in the office. Retransmissions should work fine but one never knows. On

Re: [vpp-dev] Crash when using the debug vpp image

2018-08-23 Thread Florin Coras
Hi Sirshak, Try: sudo rm -rf /dev/shm/* Florin > On Aug 23, 2018, at 9:09 AM, Sirshak Das wrote: > > Hi all, > > I am trying to debug a segfault due to of my commits. I usually use the > release image by building make build-release, but as I am trying to debug, so > I decided to just do m

Re: [vpp-dev] TCP retransmission

2018-08-23 Thread Florin Coras
2 > > thanks > Ping > > > From: Yu, Ping > Sent: Thursday, August 23, 2018 4:49 PM > To: Florin Coras > Cc: vpp-dev@lists.fd.io; Florin Coras (fcoras) ; Yu, Ping > > Subject: RE: [vpp-dev] TCP retransmission > > Verbose 1 also shows some info belo

<    1   2   3   4   5   6   7   8   >