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

Re: [vpp-dev] question about the VCL

2018-05-15 Thread xyxue
Hi Florin, Ed, I'm testing VCL , and the IPPROTO_RAW is a test case .Since it is not supported ,I'm testing the UDP mode: server:./vcl_test_server -D 2 client:./vcl_test_client -D 2.1.1.1 2 An assert occure when client startup. More info is shown below: DBGvpp# 0:

Re: [vpp-dev] question about the VCL

2018-05-14 Thread Edward Warnicke
Xyxue, If you want to move raw IP/Ethernet around, I'd suggest looking at memif :) Ed On Mon, May 14, 2018 at 3:44 AM Florin Coras wrote: > Hi Xyxue, > > No, the stack does not support IPPROTO_RAW. Given that this is a user > space stack and that you have access to

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

[vpp-dev] question about the VCL

2018-05-14 Thread xyxue
Hi guys, Is the VCL support RAW_IP now ? Or is there a plan to support it? Thanks, Xyxue