DPDK usage discussions
 help / color / mirror / Atom feed
From: 403975152 <403975152@qq.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap?
Date: Fri, 3 Apr 2020 09:12:37 +0800	[thread overview]
Message-ID: <tencent_337538D3A0C95D4B401B1943EFCBC218B808@qq.com> (raw)
In-Reply-To: <tencent_EC870C8A7707616BDC619C2C50A62E382007@qq.com>

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 &amp; secondary both? OR is this on a roadmap?


Any help will be greatly appreciated.


Zhu Hengbo

发自我的iPhone

       reply	other threads:[~2020-04-03  1:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_EC870C8A7707616BDC619C2C50A62E382007@qq.com>
2020-04-03  1:12 ` 403975152 [this message]
2020-04-03 13:31   ` Cliff Burdick
2020-06-24  7:39   ` [dpdk-users] =?gb18030?q?How_to_compile_librte=5Feal_using_static_link_of_libc=A3=BF?=  =?gb18030?B?SHViYmxlX1podQ==?=

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_337538D3A0C95D4B401B1943EFCBC218B808@qq.com \
    --to=403975152@qq.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).