Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi Chinmaya, Given that you’re getting packets in the listener’s rx fifo, I suspect the request to make it a connected listener didn’t work. We’ve had a number of changes in vcl/session layer so hard to say what exactly might be affecting your app. Just did an iperf udp test on master and everything seems to be fine. Maybe try it with your current vpp version to make sure that everything is okay or try running the udp iperf make test [2] Regards, Florin [1] https://wiki.fd.io/view/VPP/HostStack/LDP/iperf#UDP_testing [2] https://git.fd.io/vpp/tree/test/asf/test_vcl.py#n978 > On Jan 23, 2023, at 10:04 AM, Chinmaya Aggarwal > wrote: > > Hi, > > We are using connected socket (setting VPPCOM_ATTR_SET_CONNECTED) but still > facing this issue. Has something changed between VPP v21.06 and the new > release for the connected udp socket? > > Thanks and Regards, > Chinmaya Agarwal. > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22493): https://lists.fd.io/g/vpp-dev/message/22493 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi, We are using connected socket (setting VPPCOM_ATTR_SET_CONNECTED) but still facing this issue. Has something changed between VPP v21.06 and the new release for the connected udp socket? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22492): https://lists.fd.io/g/vpp-dev/message/22492 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi Chinmaya, Given that data is written to the listener’s fifo, I’ll guess vpp thinks it’s using non-connected udp sessions. Since you expect accepts to be coming, probably you’re missing an vppcom_session_attr VPPCOM_ATTR_SET_CONNECTED on the listener. See for instance here [1]. It could also be that the vcl lib your app is linked against is out of sync with vpp. Let me know if that solves the issue. Regards, Florin [1] https://git.fd.io/vpp/tree/src/plugins/hs_apps/vcl/vcl_test_protos.c#n154 > On Jan 19, 2023, at 1:13 PM, Chinmaya Aggarwal > wrote: > > Hi, > > We re-compiled VPP 22.10 by cherry picking the below commits:- > > udp: fix tx handling of non-connected sessions : > 15952b261f92959ca14cf6679efc318c12e90de6 > udp: support for disabling tx csum : f8ee39ff715ec713045af69da465ba4da8248212 > udp: explicit udp output node This allows for custom next node selection on > output. : 8c1be054b90f113aef3ae27b52d7389271ce91c3 > > But we are still facing the same issue that VCL is not able to accept UDP > connections and we are seeing rx full in "show session verbose". > > Is there anything else that we might be missing out on or can try? > > Thanks and Regards, > Chinmaya Agarwal. > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22487): https://lists.fd.io/g/vpp-dev/message/22487 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi, We re-compiled VPP 22.10 by cherry picking the below commits:- udp: fix tx handling of non-connected sessions : 15952b261f92959ca14cf6679efc318c12e90de6 udp: support for disabling tx csum : f8ee39ff715ec713045af69da465ba4da8248212 udp: explicit udp output node This allows for custom next node selection on output. : 8c1be054b90f113aef3ae27b52d7389271ce91c3 But we are still facing the same issue that VCL is not able to accept UDP connections and we are seeing rx full in "show session verbose". Is there anything else that we might be missing out on or can try? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22485): https://lists.fd.io/g/vpp-dev/message/22485 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi Chinmaya, Are you by chance using 23.02rc0, as opposed to 22.10, in combination with non-connected udp listeners? If yes, could you try this fix [1] or vpp latest to check if the issue still persists? Regards, Florin [1] https://gerrit.fd.io/r/c/vpp/+/37842 > On Jan 18, 2023, at 12:59 PM, Chinmaya Aggarwal > wrote: > > Hi, > > We are testing VCL in VPP 22.10 and facing the issue that VCL is not able to > accept UDP connections and we are seeing rx full in "show session verbose" > command:-- > > vpp# show session verbose > Connection State > Rx-f Tx-f > [0:0][U] 2001:5b0::501:b883:31f:29e:9881:9915->:::0 LISTEN > 3994945 0 > [0:1][U] 2001:5b0::501:b883:31f:19e:9881:9915->:::0 LISTEN 0 >0 > Thread 0: active sessions 2 > Thread 1: no sessions > Thread 2: no sessions > Thread 3: no sessions > Thread 4: no sessions > vpp# > > > Below is the relevant configuration in:- > startup.conf > session { > enable > evt_qs_memfd_seg > use-app-socket-api > segment-baseva 0x20 > } > #socksvr { socket-name /run/vpp/vcl.sock} > socksvr { default } > > > vcl.conf > vcl { > rx-fifo-size 400 > tx-fifo-size 400 > app-scope-local > app-scope-global > app-socket-api /var/run/vpp/app_ns_sockets/default > } > > The same configuration is working fine in VPP v21.06. Has anything changed in > 22.10 or are we missing something here? > > Thanks and Regards, > Chinmaya Agarwal. > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22482): https://lists.fd.io/g/vpp-dev/message/22482 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VPP 22.10 : VCL not accepting UDP connections
Hi, We are testing VCL in VPP 22.10 and facing the issue that VCL is not able to accept UDP connections and we are seeing rx full in "show session verbose" command:-- vpp# show session verbose Connection State Rx-f Tx-f [0:0][U] 2001:5b0::501:b883:31f:29e:9881:9915->:::0 LISTEN 3994945 0 [0:1][U] 2001:5b0::501:b883:31f:19e:9881:9915->:::0 LISTEN 0 0 Thread 0: active sessions 2 Thread 1: no sessions Thread 2: no sessions Thread 3: no sessions Thread 4: no sessions vpp# Below is the relevant configuration in:- startup.conf session { enable evt_qs_memfd_seg use-app-socket-api segment-baseva 0x20 } #socksvr { socket-name /run/vpp/vcl.sock} socksvr { default } vcl.conf vcl { rx-fifo-size 400 tx-fifo-size 400 app-scope-local app-scope-global app-socket-api /var/run/vpp/app_ns_sockets/default } The same configuration is working fine in VPP v21.06. Has anything changed in 22.10 or are we missing something here? Thanks and Regards, Chinmaya Agarwal. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22481): https://lists.fd.io/g/vpp-dev/message/22481 Mute This Topic: https://lists.fd.io/mt/96363933/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-