Hi, We are facing a strange issue inĀ packet transfer over memif channel.
We have a memif connection setup with VPP as master and App as Client. When the App sends a 64 messages continuously to VPP, the response from VPP is getting corrupted. We are doing coloring of the message bytes on both sides and we could see that some stomping of memory is happening at lower layers. One main point here is: Each packet that is getting transferred over memif is 64K of size. We have made memif interface MTU as 65535 to accomodate this. When we reduce each message size, then the crash is NOT happening within 64 messages. So, basically, we are suspecting that some ring memory is getting congested due to which this issue is happening. Fyi, following is the memif connection details for this. interface memif0/0 remote-name "App" remote-interface "app-conn1" socket-id 0 id 0 mode ip flags admin-up connected listener-fd 46 conn-fd 45 num-s2m-rings 1 num-m2s-rings 1 buffer-size 0 num-regions 2 region 0 size 524544 fd 47 region 1 size 268435456 fd 48 master-to-slave ring 0: region 0 offset 262272 ring-size 16384 int-fd 50 head 16486 tail 102 flags 0x0000 interrupts 100 slave-to-master ring 0: region 0 offset 0 ring-size 16384 int-fd 49 head 204 tail 204 flags 0x0001 interrupts 0 Any hints on what could be happening here and how to debug this problem. Really Appreciate any help here, as we are stuck with this problem for the last two weeks and not able to debug what the issue is. -- Thanks & Regards, Murthy
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18250): https://lists.fd.io/g/vpp-dev/message/18250 Mute This Topic: https://lists.fd.io/mt/78708204/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-