From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0B45A0508 for ; Mon, 4 Apr 2022 18:10:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE41D41148; Mon, 4 Apr 2022 18:10:31 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id 0ED2F4068C for ; Mon, 4 Apr 2022 18:10:31 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id b21so7680756lfb.5 for ; Mon, 04 Apr 2022 09:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bPVSywmulARN97mu9UnfUGpiRukV+CnZKbp+hgKPi70=; b=DsiRdCATyJKxNbfMotAWG3UqLEttS4MsYHOzbKqllJz/0m5N9ZQxYcM4JejG7raWGy 1U1bWDFkbaRxZFEbPCzB/0ROJRreuNOPyQMytdP37MC2UhaKlM5hUet9UTaNfWFfsBD4 Y2h0FPjM77FBhrBMRNzlYPyPS7CImTIESKh1/VWuu9GQ7+0M2tU20Y0xcm4xMYWh951F V7s9KQCt+J42Fi6bEORSj1FnYWZ6426q/OiDUEHpIYd/4AUz1L5e2jIn3n0kTZVHGIKs WNwdquIzvnVFegayvV4irBtXZV3jsavkmCafTbd7O7ARcQgZW0nGa2wQt40Cy+/VY7+s cd0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bPVSywmulARN97mu9UnfUGpiRukV+CnZKbp+hgKPi70=; b=oIDHcwcJk3Y69z8f7RcWTbeKg/j8a0treqsc6suPoHI5WyyGwns2BFfLviOqOyMWyH LO4Aq4oRKqipLQb+RWqsArIya37PnwXeEo/PGKS+vx8ClT0cOkdpCxllU1QNtoIb3TF2 t1UBZvVq8FSni7hwXkWFqNnBZT9A/rjt4ypVyi34pYnQztif5pnEXWWYcD+j2Ml1GGFk QkUi+lT4ytTgYNIXgA0nqSa0MDYk5taT6QgBgAanrHAMdIhV8tbSBHmE3G7AFZF683eF Hiff6qhjuYr6v50iOE0SDXamu3N6p4mmEsDYKFAl+RkAdFq3KANm/KXJLL5Br4HtwOby xEpQ== X-Gm-Message-State: AOAM533sAN0gqHXNq4hBUzoSm1PW4Ueu9CkxN/EQ7WlMxPx8EXEtdqkX pTKkI1x6WycvgtcsnTu40hA= X-Google-Smtp-Source: ABdhPJyNQl4/Uz2FxmXg6Q5+PmTWVRvvrwfoFlwiUkqbD+sHM90783YUMEFb1lR14SSllI3KQ/RJUQ== X-Received: by 2002:a05:6512:3192:b0:44a:b43f:d58f with SMTP id i18-20020a056512319200b0044ab43fd58fmr128988lfe.179.1649088630397; Mon, 04 Apr 2022 09:10:30 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id p7-20020a2e8047000000b0024aeee8607csm1091289ljg.27.2022.04.04.09.10.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 09:10:30 -0700 (PDT) Date: Mon, 4 Apr 2022 19:10:29 +0300 From: Dmitry Kozlyuk To: Antonio Di Bacco Cc: users@dpdk.org Subject: Re: Fastest and easiest method to share mem between two DPDK processes Message-ID: <20220404191029.4d93eee3@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org 2022-04-04 16:04 (UTC+0200), Antonio Di Bacco: > I have a Primary (Pa) and a secondary (Sa). Pa allocates memory that shares > with Sa. > Now I also have another Primary (Pb). I need to allocate some memory in Pa > or Sa that has to be shared with (Pb) or the reverse. Is this a feasible > configuration? Please tell more about the use case. Do you want to share an arbitrary block or part of DPDK memory? What the shared memory contains and how it will be used w.r.t. DPDK?