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 1A5E3A0562 for ; Fri, 3 Apr 2020 15:31:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79D761C0BD; Fri, 3 Apr 2020 15:31:47 +0200 (CEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by dpdk.org (Postfix) with ESMTP id 93F5E1BDAC for ; Fri, 3 Apr 2020 15:31:46 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id w10so8583983wrm.4 for ; Fri, 03 Apr 2020 06:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lr84WiRMjkz3EZINpA87Bzpjuv5q3AmiNLqX3Lf+Ldo=; b=Zvs4+no/AC+klZ4RfKBHCx5e2JR1Aj4mwQQac6zO93FyyjEKrKrYAngZErLkLUUTHc KCG0rhedTHb/AAFtbZLYrqkISTYVWCw5zu6hGb6eZ6vigHt6l5KClQCP/8/UljYDBM2o VPTfr+dPIN0jg3QkjAUxQMf7d2GvNXbYeBepirsUwe2o22RO/XkwTtL74CYb9x5Ho6W4 TsrVGS4bgo8uSXQbMw79GbcBo6wXnXBsnRFjq7yATrMrVHy78gPgaI9qYglUIHqTTS0F wkOYC3jPlMXZ2QZxw7ithx/zOryiS61bnqo2v/o1QkS4AjTbVaHVCa5c2sFom/zGmrbM 8tfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lr84WiRMjkz3EZINpA87Bzpjuv5q3AmiNLqX3Lf+Ldo=; b=NBbc6+RLRBEstmR8M6fJF8Jf/0h4EvdpI8HpD5h0QN1mrQ8NCrZN4pwylBqyiprUg2 LUzalqY8vRPlIPoiF85r3vkWLLQUFC5VdNkUIL4XI2tTQtoTOGsgEXXhNpLqTc/woGnQ K+s8XTA7LLtkpKxGCE5idNjSs7LmfM01R1JdvHlUAhE4EW1q6pE8HTzhBrkw8d0WUkdB yL6sMMSHeGZM9rbzfgBzxmOGgozY1bG52VGPP2plsuCjNoR/LuDhJMXB7Qykf3Jwr9G0 r2B5NZi7s2jhMRMObtAXy6qiM0AenUif005mXTegLb4OZYUEMs8y98Lto6dlzNhs+vE7 rLNQ== X-Gm-Message-State: AGi0PuYy0EGtPLGHGMPX3gP27NRTKV/T2y46c1whApRFkton95Y9GmbP VII2IDPEHpyardh7pgDMTrwKuTvRR590JgezN24= X-Google-Smtp-Source: APiQypLvEbdGE+q1tfIl+Xy8Za7PjES3Uq3/qAHPqlhuDoztqCLP2Yheb79ktFUhAvWT20sRnS6GL/Co7pGDn8D9zVo= X-Received: by 2002:a05:6000:1c4:: with SMTP id t4mr8776896wrx.89.1585920706181; Fri, 03 Apr 2020 06:31:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Fri, 3 Apr 2020 06:31:36 -0700 Message-ID: To: 403975152 <403975152@qq.com> Cc: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 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" No, it doesn't. You can either have primary and secondary or multiple primaries. Can you explain why B can't be your primary? If you just allow it to configure all the nic pools that should solve your issue. On Thu, Apr 2, 2020, 18:12 403975152 <403975152@qq.com> wrote: > Hi,all, > > > I am developing a program now. My program have two kinds of processes. > Process A and process B. > Process A receives packets from nic and then forward packets to process B= . > While process B will do some user-mode TCP/IP stack work. > > > So here the problem is, > For hugepages between A and nic, A is primary. > For hugepages between A and B, I hope that B could be primary and A could > be secondary. > Because there may be many process Bs in some situations.Also I want to > make Memory Operations restricted with B only. Memory malloc and free > operate in B only. Process A just attach shared memory and use. > > > So does dpdk support a process start as primary & secondary both? OR > is this on a roadmap? > > > Any help will be greatly appreciated. > > > Zhu Hengbo > > =E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84iPhone