Re: [vpp-dev] Failed to use vcl_test_client

2017-10-08 Thread Florin Coras
Hi xyxue, The issue is the stack not VCL. As of now, UDP is not fully supported. Florin > On Oct 8, 2017, at 6:12 PM, 薛欣颖 wrote: > > > Hi, > > We use the TCP protocol to test VCL, the function is OK. If I modify the UDP > protocol, the function is abnormal. > The error message is: > DBGv

Re: [vpp-dev] Failed to use vcl_test_client

2017-10-08 Thread 薛欣颖
Hi, We use the TCP protocol to test VCL, the function is OK. If I modify the UDP protocol, the function is abnormal. The error message is: DBGvpp# 0: udp_open_connection:254: Not implemented The code is implemented as follows: int udp_open_connection (transport_endpoint_t * tep) { clib_warni

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread Florin Coras
to start two vpp in the same virtual machine? > > Thanks, > xyxue > > From: Dave Wallace <mailto:dwallac...@gmail.com> > Date: 2017-09-29 00:03 > To: 薛欣颖 <mailto:xy...@fiberhome.com>; Florin Coras > <mailto:fcoras.li...@gmail.com>; John Lo (loj) <mailto:l.

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread 薛欣颖
Wallace Date: 2017-09-29 00:03 To: 薛欣颖; Florin Coras; John Lo (loj) CC: vpp-dev Subject: Re: [vpp-dev] Failed to use vcl_test_client Xyxue, Have you verified the VPP1 and VPP2 are connected (i.e. ping 1.1.1.2 from vpp1) ? The multi-host configuration has been tested using vagrant/virtualbox using

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread Florin Coras
oot user or by removing the suid bit on the executable. > xterm: Xt error: Can't open display: %s > xterm: DISPLAY is not set > DISPLAY is not set > > Thanks, > Xyxue > > From: Florin Coras <mailto:fcoras.li...@gmail.com> > Date: 2017-09-28 02:31 > To:

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-28 Thread 薛欣颖
: %s xterm: DISPLAY is not set DISPLAY is not set Thanks, Xyxue From: Florin Coras Date: 2017-09-28 02:31 To: John Lo (loj) CC: 薛欣颖; vpp-dev Subject: Re: [vpp-dev] Failed to use vcl_test_client Cool! Thanks for the info, John! Xyxue, could you try it out and see if it works? Florin On Sep 27

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread Florin Coras
, September 27, 2017 10:46 AM > To: 薛欣颖 > Cc: vpp-dev > Subject: Re: [vpp-dev] Failed to use vcl_test_client > > Hi xyxue, > > VPP now has a dependency on memfd which is not available in 14.04. > Unfortunately, that means you’ll have to switch to ubuntu 16

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread John Lo (loj)
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Florin Coras Sent: Wednesday, September 27, 2017 10:46 AM To: 薛欣颖 Cc: vpp-dev Subject: Re: [vpp-dev] Failed to use vcl_test_client Hi xyxue, VPP now has a dependency on memfd which is not available in 14.04. Unfortunately, that means you’ll have to

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread Florin Coras
_create, name, flags);’ to ‘return 0’. > Will the vcl function be affected? > > Thanks, > xyxue > > From: Florin Coras <mailto:fcoras.li...@gmail.com> > Date: 2017-09-20 13:05 > To: 薛欣颖 <mailto:xy...@fiberhome.com> > CC: dwallacelf <mailto:dwallac...@gm

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-27 Thread 薛欣颖
rn syscall (__NR_memfd_create, name, flags);’ to ‘return 0’. Will the vcl function be affected? Thanks, xyxue From: Florin Coras Date: 2017-09-20 13:05 To: 薛欣颖 CC: dwallacelf; vpp-dev Subject: Re: [vpp-dev] Failed to use vcl_test_client Hi xyxue, I just tested the stack with linux and everything seems to

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread Florin Coras
ilto:xy...@fiberhome.com> > CC: dwallacelf <mailto:dwallac...@gmail.com>; vpp-dev > <mailto:vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] Failed to use vcl_test_client > Hi xyxue, > > What you’re getting is a connect fail because, I assume from trace, the >

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread 薛欣颖
Hi Florin, The server is started on the peer vpp . And through 'sock_test_client/sock_test_server' can be normal communication. Thanks, xyxue From: Florin Coras Date: 2017-09-20 10:52 To: 薛欣颖 CC: dwallacelf; vpp-dev Subject: Re: [vpp-dev] Failed to use vcl_test_client Hi xy

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread Florin Coras
ere are two function "vl_api_connect_sock_t_handler", one in > session_api.c, another in vppcom.c, > How to work ? > > 2. How to VCL and VPP communication ? > > 3. Why the message of VPP to VCL is "send_session_connected_callback" > function send ? > &g

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-19 Thread 薛欣颖
om: Dave Wallace Date: 2017-09-19 01:29 To: 薛欣颖; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Failed to use vcl_test_client Hi Xyeue, I believe this patch fixes this issue: https://gerrit.fd.io/r/#/c/8315/ Can you please pull the latest source code and try again? Thanks, -daw- On 9/18/2017 2:43 AM, 薛

Re: [vpp-dev] Failed to use vcl_test_client

2017-09-18 Thread Dave Wallace
Hi Xyeue, I believe this patch fixes this issue: https://gerrit.fd.io/r/#/c/8315/ Can you please pull the latest source code and try again? Thanks, -daw- On 9/18/2017 2:43 AM, 薛欣颖 wrote: Hi, When I test vcl ,there is some error : root@ubuntu:/home/vpp_communication/vpp/build-root/install-vp

[vpp-dev] Failed to use vcl_test_client

2017-09-17 Thread 薛欣颖
Hi, When I test vcl ,there is some error : root@ubuntu:/home/vpp_communication/vpp/build-root/install-vpp-native/vpp/bin# ./vcl_test_client -U 1.1.1.2 22000 CLIENT: Connecting to server... msg_handler_internal:429: no handler for msg id 424 .. ... ... ERR