<div dir="ltr"><div>Hello<br></div><div><br></div><div>I wonder if it is possible for a DPDK application using the memif feature to communicate with a native Linux application? <br></div><div><br></div><div>I have tried to create a Docker container and start the image by:<br></div><div>docker run -ti --privileged -v "/mnt/huge:/mnt/huge" -v 
"/var/run:/var/run" -v "/tmp:/tmp" -v "/run:/run" -v "/sys:/sys" -v 
"/dev:/dev" testpmd /bin/bash</div><div><br></div><div>In this container I start the dpdk-testpmd application in server mode by:<br></div><div>./dpdk-testpmd -l 1-2  --no-pci  --proc-type=primary --file-prefix=td1 --vdev=net_memif,role=server,mac=00:00:00:00:00:01 -- -i</div><div><br></div><div>From a UNIX shell in the same server I start the dpdk-testpmd in client mode:<br></div><div>sudo ./dpdk-testpmd -l 3-4  --no-pci --proc-type=primary --file-prefix=td2 --vdev=net_memif,zero-copy=yes,mac=00:00:00:00:00:02 --single-file-segments -- -i <br></div><div><br></div><div>This results in the following error message on the client side:</div><div>. . .</div><div>Configuring Port 0 (socket 0)<br>memif_connect_client(): Failed to connect socket: /run/memif.sock.<br>Fail to start port 0<br></div><div>. . .<br></div><div><br></div><div>If I start both sides in a UNIX shell, the client can connect to the server.<br></div><div>Do you know what can be the fault when executing in a Docker container and in a UNIX shell for communication using the DPDK memif feature?<br></div><div><br></div><div>Thanks</div><div>Staffan<br></div><div><br></div></div>