Hi Ido, You can find some high level documentation about vcl here [1]. In particular, check the presentations at the bottom of the page and [2]. For more details, you’ll have to read the code. If you need to exercise vcl, you may want to try using iperf [3] or the the vcl test server/client apps (see make test example here [4]).
Additionally, LDP is a shim layer that intercepts syscalls and indirectly injects them into vcl. Because, vcl does not allow sharing of sessions between multiple app threads/workers/processes, ldp actually injects the requests into vls (vcl locked sessions) which grabs a number of locks before re-injecting them into vcl. Out of these 3 layers, only vcl is aware of the shared memory infrastructure. Regarding your project, although interesting, note that transports, like tcp, depend on the svm fifo for out of order segment reception and for buffering segments not yet acknowledged. Therefore, if you plan to replace the svm infra, you’ll need to replicate that functionality. Hope this helps, Florin [1] https://wiki.fd.io/view/VPP/HostStack <https://wiki.fd.io/view/VPP/HostStack> [2] https://wiki.fd.io/view/VPP/HostStack/SessionLayerArchitecture <https://wiki.fd.io/view/VPP/HostStack/SessionLayerArchitecture> [3] https://wiki.fd.io/view/VPP/HostStack/LDP/iperf <https://wiki.fd.io/view/VPP/HostStack/LDP/iperf> [4] https://git.fd.io/vpp/tree/test/test_vcl.py <https://git.fd.io/vpp/tree/test/test_vcl.py> > On Apr 22, 2019, at 6:46 AM, id...@campus.technion.ac.il wrote: > > Hi all, > > In part of academic project we would like to replace the shared memory > mechanism between the VCL and the VPP with RDMA... > I tried to review the code in folders src/vcl and src/vlibmemory and even to > run the socket_test.sh demo for better understanding but it doesn't help me... > > > where can I find a document or a video that describes better the flows of > messages and what functions are called between VCL and VPP > -- > > Best regards, > Ido > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#12829): https://lists.fd.io/g/vpp-dev/message/12829 > Mute This Topic: https://lists.fd.io/mt/31273974/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12830): https://lists.fd.io/g/vpp-dev/message/12830 Mute This Topic: https://lists.fd.io/mt/31273974/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-