Re: [vpp-dev] Help needed in bringing up memif with shm_open.

2022-05-26 Thread Pragya Nand Bhagat
Hi , Thanks Ben and Daniel for looking into this. Both the issues which I was facing is resolved now. steps that i took was : I added "shm_unlink" after "shm_open call". For the rx issue which I was getting , as suggested by Ben i used gdb to debug into the libmemif. and I realised a "memif_refi

Re: [vpp-dev] Help needed in bringing up memif with shm_open.

2022-05-25 Thread Daniel Béreš via lists . fd . io
Hi, To sync up, can you run loopback example? I tried to reproduce your problem on 3.10.0-229.1.2.rt56.141.2.el7_1.x86_64 but I got different result. diff --git a/extras/libmemif/src/CMakeLists.txt b/extras/libmemif/src/CMakeLists.txt index ddb8a52..a11a65f 100644 --- a/extras/libmemif/src/CMa

Re: [vpp-dev] Help needed in bringing up memif with shm_open.

2022-05-24 Thread Benoit Ganne (bganne) via lists.fd.io
io On Behalf Of Pragya Nand > Bhagat > Sent: Saturday, May 21, 2022 15:30 > To: pragya.nand.bhaga...@gmail.com > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] Help needed in bringing up memif with shm_open. > > Hi, > > I'm able to send and receive packet when I co

Re: [vpp-dev] Help needed in bringing up memif with shm_open.

2022-05-21 Thread Pragya Nand Bhagat
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 .