From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ABD78A0487 for ; Wed, 3 Jul 2019 15:25:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 101541D9E; Wed, 3 Jul 2019 15:25:20 +0200 (CEST) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by dpdk.org (Postfix) with ESMTP id 2A7812AB for ; Wed, 3 Jul 2019 15:25:19 +0200 (CEST) Received: by mail-pf1-f180.google.com with SMTP id 81so1269652pfy.13 for ; Wed, 03 Jul 2019 06:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=BOzcSFtXliQVqGLgkCTWFKOsTrLELxzrC23iUDAhAqs=; b=izAGuhy+FuP4/5iSWgZGJZJAl+VjTnR+WJ5sP/uChUgPQoPfUBZBvuJx0m/rMmmaV4 tfYES4NJ4zX8K1/BXtCo3TpveYXsXi46JcgN76K2eKIpPojo9SGSkUJPskISb1xCdIJZ u3dB6ErYUPfgdxlKMUsDSyvlAlKqwQaTFT1TPIfvok7h4tqNkAIak2kiXMaqk+qMqax3 vC5Qh87dl8sDiNce1qaqvvIBngeHKgElkupZcATRQlmrYY6Gz3Xel2j05wg++RwIyh7h 1NGrtHygUpVpn7GsL5VNcClu40rkHhWQthV4fjOHaUdQ1xTHh+ZEZCPdt1sO7G1FuhW8 5gFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BOzcSFtXliQVqGLgkCTWFKOsTrLELxzrC23iUDAhAqs=; b=Ui+Y3PLNc6Xe69iaKL4hC11DQUKR+j6xMNOjpgWtiAqGP0iOQCABum5PuUncSCUxfG O9D1GS41uPfYR+EniyVIGax6Tw9E2umfapN/4DdcFeoPXZ/grb+xbiSBrE7xb1nCGiRo 4k52++C3lWaNvVROvsLjJQ0TxaHz79v6HdnPviDXEMw3ZcJaXSxTlhWVjGiNvoaHBrju Jl3VjjEAcVeYArKFGJ9GNlgiYeWmSE1jOR4Ely5RNFn2l9JHXAaXC4o1yaAdgatUSxId seF6ejwavUSRqrxastsLxtSeDjbgc0YWSX37qmcGUlGPOe2+AFH71fRJJ6vnRstbfyl4 /16A== X-Gm-Message-State: APjAAAW3BLJc0TuHXzhT9u8s4MnMKlMJrCXk0OBIDqEkf4ypku9TVgfU DzdBdHH6T40dnsvNGMkoXQP9YtWj X-Google-Smtp-Source: APXvYqwLPYy2y/qIvbjPkExlWAw+VZj22cP01LkOx3j0zBhDbzOJQ1e8+cAybYvXoQa+OjrmnVzYLA== X-Received: by 2002:a17:90a:109:: with SMTP id b9mr12200178pjb.112.1562160317450; Wed, 03 Jul 2019 06:25:17 -0700 (PDT) Received: from mugwort.local ([2400:4050:c8c2:de00:f4fc:8e4d:6b9f:8749]) by smtp.gmail.com with ESMTPSA id v10sm2485275pfe.163.2019.07.03.06.25.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 06:25:16 -0700 (PDT) To: Sara Gittlin , users@dpdk.org References: From: Yasufumi Ogawa Message-ID: <54485eb2-ac19-b265-96dc-595a17cddf5a@gmail.com> Date: Wed, 3 Jul 2019 22:25:14 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] DPDK-app to 2 containers - shared-mem X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > Hi, > i need to connect 2 containers to my DPDK-app , and to send the pkts to > both containers. > for a zero copy i need a shared mem between the DPDK-app and the 2 > containers , and to put a ref-counter to free the mbuf when this counter is > zero. Hi Sara, It is doable if your container app is implemented as secondary process. You can connect container apps via ring PMD by sharing hugepage between host and container. I have tried to deploy my application on container environment. Some examples of Dockerfiles or docker commands are explained in my material here. I hope it will be some help. https://www.dpdk.org/wp-content/uploads/sites/35/2018/12/YasufumiOgwa_Implementing-DPDK-based-Application-Container-Framework-with-SPP.pdf Regards, Yasufumi > can someone refer me to a similar setup/example ? > Thank you > -Sara >