Hi,

We started to work with VCL solution in version 20.05 and we are facing some 
troubles
We are trying to open VCL socket, to accept packets, process them and send the 
result to a third application
We are working with UDP sockets and our sequence is
1. vppcom_app_create()
2. vppcom_session_create(VPPCOM_PROTO_UDP, FALSE)
3. vppcom_session_bind()
4. while loop

a. vppcom_select()

b. vppcom_session_recvfrom()

c. send packet to third app

In that case if I’m sending less than 2000 Packets per second, everything is 
going smooth, if I’m sending 2001 Packets per second My program stuck in select 
and not getting back to work

After analyzing this situation I tried to do it in different way

1. vppcom_app_create()
2. vppcom_session_create(VPPCOM_PROTO_UDP, FALSE)
3. vppcom_session_bind()
4. vppcom_select()
5. while loop

b. vppcom_session_recvfrom()

c. send packet to third app

In that case I’m reaching 120,000 Packets per second, but if I’m trying to pass 
more, the vppcom_session_recvfrom stucks after a minute +- and not getting back

Am I doing something wrong in the procedure?

Can you help with it?

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

View/Reply Online (#16788): https://lists.fd.io/g/vpp-dev/message/16788
Mute This Topic: https://lists.fd.io/mt/75057071/21656
Mute #vpp: https://lists.fd.io/g/fdio+vpp-dev/mutehashtag/vpp
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