Hi,

I'm able to send and receive packet when I compile with gcc version (Ubuntu
8.4.0-1ubuntu1~18.04) , GLIBC 2.27 and kernel 5.4.0-66-lowlatency.
but when I compile with gcc gcc (GCC) 5.4.0, GLIBC 2.17 , and
kernel  3.10.0-rt56 it fails at memif_buffer_alloc.
Any idea why this behaviour can be .

Thanks for all the suggestions and insights.

Thank You
Pragya Nand

On Fri, May 20, 2022 at 10:26 AM Pragya Nand Bhagat via lists.fd.io
<pragya.nand.bhagat.1=gmail....@lists.fd.io> wrote:

> Hi All,
>
> I'm trying to connect two existing container application by using memif.
> Unfortunately these are old codes and i'm stuck with old glibc and kernel .
> So I'm trying to use shm_open instead of memfd_create .
>
> The issue that I'm facing is are as follows :
>
> It throws following error while trying to do tx :
>
> memif_tx_burst : Invalid argument. (This comes from src/main.c 1746 - 1750)
>
> When I try to do a rx I get the interrupt but the received packet is 0.
>
> It would be a great help if someone knows changes which are required for 
> libmemif to work with shm_open.
>
> I'm working on same and will share changes if it works.
>
> Thank You
>
> Pragya Nand Bhagat
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21425): https://lists.fd.io/g/vpp-dev/message/21425
Mute This Topic: https://lists.fd.io/mt/91224655/21656
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