Hi Dave

[root@vbbubng6-shashi-8 vpp]#  
./build-root/build-vpp-native/vpp/vcl_test_server -D 5678

[root@vbbubng6-shashi-7 vpp]# ./build-root/build-vpp-native/vpp/vcl_test_client 
-D -V   192.168.180.30  5678


It does connect, but hangs on running Uni / Bi directional transfer

Also I see

vpp# show errors
   Count                    Node                  Reason
         2              session-queue             Packets transmitted
         2               udp4-input               UDP connected session
vpp#

Packet 1

00:00:15:768075: dpdk-input
  UnknownEthernet0/7/0 rx queue 0
  buffer 0x4e03: current data 14, length 88, free-list 0, clone-count 0, 
totlen-nifb 0, trace 0x0
                 ext-hdr-valid
                 l4-cksum-computed l4-cksum-correct l2-hdr-offset 0 
l3-hdr-offset 14
  PKT MBUF: port 0, nb_segs 1, pkt_len 102
    buf_len 2176, data_len 102, ol_flags 0x0, data_off 128, phys_addr 0x22f38140
    packet_type 0x0 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0
  IP4: fa:16:3e:92:72:bd -> fa:16:3e:f5:6a:3d
  UDP: 192.168.170.30 -> 192.168.180.30
    tos 0x00, ttl 255, length 88, checksum 0x9c06
    fragment id 0x0000, flags DONT_FRAGMENT
  UDP: 26071 -> 5678
    length 68, checksum 0x428e
00:00:15:768109: ip4-input
  UDP: 192.168.170.30 -> 192.168.180.30
    tos 0x00, ttl 255, length 88, checksum 0x9c06
    fragment id 0x0000, flags DONT_FRAGMENT
  UDP: 26071 -> 5678
    length 68, checksum 0x428e
00:00:15:768118: ip4-lookup
  fib 0 dpo-idx 7 flow hash: 0x00000000
  UDP: 192.168.170.30 -> 192.168.180.30
    tos 0x00, ttl 255, length 88, checksum 0x9c06
    fragment id 0x0000, flags DONT_FRAGMENT
  UDP: 26071 -> 5678
    length 68, checksum 0x428e
00:00:15:768126: ip4-local
    UDP: 192.168.170.30 -> 192.168.180.30
      tos 0x00, ttl 255, length 88, checksum 0x9c06
      fragment id 0x0000, flags DONT_FRAGMENT
    UDP: 26071 -> 5678
      length 68, checksum 0x428e
00:00:15:768131: ip4-udp-lookup
  UDP: src-port 26071 dst-port 5678
00:00:15:768136: udp4-input
  UDP_INPUT: connection 0, disposition 7, thread 2
00:00:15:768198: error-drop
  udp4-input: UDP connected session





From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Dave Wallace
Sent: 27 March 2018 01:23
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] UDP ECHO Server

Shashi,

https://gerrit.fd.io/r/#/c/11239

I haven't fully tested the UDP support yet although it seems to work.  I'm now 
adding VCL UDP tests to make test which I will publish in a day or so.

Thanks,
-daw-

On 03/26/2018 06:05 AM, Shashi Kant Singh wrote:
Thanks Dave

Anytime expected date?

Regards
Shashi


From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
[mailto:vpp-dev@lists.fd.io] On Behalf Of Dave Wallace
Sent: 23 March 2018 18:32
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] UDP ECHO Server

I'm in the process of adding both IPv6 and UDP support to 
socket_test.sh/sock_test_server/sock_test_client and will publish the patch 
soon.

Thanks,
-daw-
On 03/23/2018 03:18 AM, Florin Coras wrote:
Not as far as I know. As for your solution, yes, it should work.

Florin



On Mar 23, 2018, at 8:56 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:

Thanks.

Another question. I see the sock_test_server.c and sock_test_client.c for TCP 
alone. Is there any app for UDP on similar lines (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] On Behalf Of Florin Coras
Sent: 23 March 2018 11:55
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] UDP ECHO Server

Try master.

Florin




On Mar 23, 2018, at 8:23 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:

What would be the branch I can try this?

Regards
Shashi


From: Florin Coras [mailto:fcoras.li...@gmail.com]
Sent: 23 March 2018 11:52
To: Shashi Kant Singh
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] UDP ECHO Server

Ow, I didn’t notice you were looking for it in 18.01. We didn’t have a builtin 
udp echo app then, that’s why the tcp one has been refactored and renamed to 
“test echo server/client”.

Florin





On Mar 23, 2018, at 8:04 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:

vpp# show version
vpp v18.01.1-14~g308ed5c-dirty built by root on vbbubng6-shashi-8.rma.lan at 
Tue Mar 20 11:08:34 UTC 2018
vpp# test
bier              classify          counters          dpdk              fib     
          fib-walk-process  frame-queue
heap-validate     http              ip6               kube-proxy        l2fib   
          l2patch           lb
lookup            mfib              one               policer           proxy   
          session           tcp
vpp# test



I cannot find option to run “echo” under test

Regards
Shashi


From: Florin Coras [mailto:fcoras.li...@gmail.com]
Sent: 23 March 2018 11:33
To: Shashi Kant Singh
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] UDP ECHO Server

The API was changed some months ago to: “test echo server uri 
<transport>://ip/port

Let me know if it works.

Thanks,
Florin






On Mar 23, 2018, at 7:59 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:

Hi Florin

I want to run UDP Server. So I need to the following as I understand:

vpp# test udp server uri udp://192.168.180.31/5678<tcp://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> 
[mailto:vpp-dev@lists.fd.io] On Behalf Of Florin Coras
Sent: 23 March 2018 11:27
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] UDP ECHO Server

Your uri asks for tcp not udp transport service.

Florin







On Mar 22, 2018, at 8:25 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> 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 “cli test”

Regards
Shashi









Reply via email to