Hi Macro,

I use following CLI command to setup SCTP server, but VPP crashed. While this 
command works for TCP/UDP.

Can you tell me  the correct cli commands to run echo test for SCTP?


vpp# set int ip address FortyGigabitEthernet18/0/1 192.168.60.73/24
vpp# set int state FortyGigabitEthernet18/0/1 up
vpp# set ip arp FortyGigabitEthernet18/0/1 192.168.60.74 3c:fd:fe:c2:12:68
vpp# test echo server fifo-size 4096 uri sctp://192.168.60.73/1234 no-echo


After debugging, I found it’s caused by invalid sw_if_index in 
sctp_connection_bind function of sctp.c.



Best Regards,
Chengqiang Yao



From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Yao, 
Chengqiang
Sent: Thursday, October 25, 2018 9:15 PM
To: Marco Varlese <mvarl...@suse.de>; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] #vpp

Hi Macro,

Thanks for your information, I will have a try.


Best Regards,
Chengqiang Yao



From: Marco Varlese [mailto:mvarl...@suse.de]
Sent: Thursday, October 25, 2018 9:09 PM
To: Yao, Chengqiang 
<chengqiang....@intel.com<mailto:chengqiang....@intel.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] #vpp

Hi,

On Thu, 2018-10-25 at 04:59 +0000, Yao, Chengqiang wrote:
Hi Macro,

Is there any sample code to show how to use SCTP (such as association, packet 
transmission/reception, etc.)? And is there any performance report for SCTP?
You can have a look at the test for SCTP:
1) test/test_sctp.py
2) src/vnet/session-apps/echo_client.c & echo_server.c

The echo_client and echo_server are used by TCP / UDP and SCTP to exercise the 
networking stack implemented.

With regards to the state-machine (I assumed that's what you're asking by 
"association", "packet transmssion/reception", etc.), the whole of it is gone 
through when running the tests.
If you are interested in seeing/learning how that's implemented I am afraid you 
need to look into the code tho.

With regards to performance: no, there're no reports. However, something can be 
retrieved by running the test_sctp.py since at the end it prints out how much 
data has been transferred and how long that took.



Best Regards,
Chengqiang Yao
Cheers,
Marco





From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
[mailto:vpp-dev@lists.fd.io] On Behalf Of Marco Varlese
Sent: Wednesday, October 10, 2018 5:47 PM
To: srivastava.rac...@gmail.com<mailto:srivastava.rac...@gmail.com>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] #vpp

Hi Srivastava,

On Wed, 2018-10-10 at 01:23 -0700, 
srivastava.rac...@gmail.com<mailto:srivastava.rac...@gmail.com> wrote:
Hi

Does the VPP support SCTP. If yes what is the configuration for SCTP. Does it 
support the same features as the linux kernel SCTP ?
VPP has an implementation for SCTP. You can look into /src/vnet/sctp folder to 
see what we currently support in terms of RFC.
Any feedback (and contribution) is very much welcome!


Thanks
Rachit Srivastava
Thanks,
Marco


-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.



View/Reply Online (#10787): https://lists.fd.io/g/vpp-dev/message/10787

Mute This Topic: https://lists.fd.io/mt/27155313/675056

Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480704

Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io>

Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[mvarl...@suse.de<mailto:mvarl...@suse.de>]

-=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11145): https://lists.fd.io/g/vpp-dev/message/11145
Mute This Topic: https://lists.fd.io/mt/28023358/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to