Hi Florin, Thank you for your reply.
Tried with the "no-return" option half-duplex mode is working fine. Which builtin application is best for testing UDP traffic in vpp? Regards, Kusuma On Fri, Mar 27, 2020 at 8:01 PM Florin Coras <fcoras.li...@gmail.com> wrote: > Hi Kusuma, > > Connection oriented transports, i.e., tcp, tls and quic, for the echo > clients are probably often tested, udp most probably not (especially with > loss). In your case, you are also trying echo clients in full-duplex mode > and that’s most probably not going to work with udp. Try adding “no-return” > option. > > Also, echo clients only works with one transport at a time. > > Regards, > Florin > > > On Mar 27, 2020, at 2:27 AM, Kusuma DS <kusumanjal...@gmail.com> wrote: > > Hi, > > Tried TCP with 2 different ports with one application, its working fine. > > Facing issue with the UDP in the built in echo server and echo client > program. > > echo client is getting aborted, please check below logs. > > DBGvpp# test echo clients uri udp://10.10.1.2/9999 > 1 three-way handshakes in 0.00 seconds 3409.91/s > Test started at 131.410427 > /home/vm2/03242020/src/plugins/hs_apps/echo_client.c:195 > (receive_data_chunk) assertion `n_read <= s->bytes_to_receive' fails > Aborted (core dumped) > Makefile:559: recipe for target 'run' failed > make: *** [run] Error 134 > > Am not sure why this problem is coming for UDP? > > please let me know. > > Regards, > Kusuma > > > On Fri, Mar 27, 2020 at 11:42 AM Florin Coras <fcoras.li...@gmail.com> > wrote: > >> Hi Kusuma, >> >> Any idea why? Did you check with “sh session verbose” if the listen >> session were properly initialized? >> >> Which of the connects failed? Both or just one of the protocols? >> >> Regards, >> Florin >> >> On Mar 26, 2020, at 6:40 PM, Kusuma DS <kusumanjal...@gmail.com> wrote: >> >> Yes, I did. >> >> Faced couple of issues, I have called vnet_listen call for both tcp and >> udp, with same ip address and port. >> >> I was not able to connect the server. >> >> Regards, >> Kusuma >> >> >> On Thu, 26 Mar, 2020, 10:56 PM Florin Coras, <fcoras.li...@gmail.com> >> wrote: >> >>> Hi Kusuma, >>> >>> You should be able to. The echo server is just a simple application we >>> use internally for testing. >>> >>> Have you tried it and hit any issues? >>> >>> Regards, >>> Florin >>> >>> > On Mar 26, 2020, at 10:16 AM, Kusuma DS <kusumanjal...@gmail.com> >>> wrote: >>> > >>> > Hi, >>> > >>> > Can we use udp and tcp server in same application. >>> > For ex : Existing echo server will handle only one transport server at >>> a time. >>> > >>> > I want to use both udp and tcp on same port but with the single >>> application attach. >>> > >>> > As in linux we will use udp and tcp with select call. >>> > >>> > Is it possible to do like this in vpp? >>> > >>> > Regards, >>> > Kusuma >>> > >>> >>> >> > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15902): https://lists.fd.io/g/vpp-dev/message/15902 Mute This Topic: https://lists.fd.io/mt/72568854/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-