DPDK usage discussions
 help / color / mirror / Atom feed
From: Cliff Burdick <shaklee3@gmail.com>
To: 403975152 <403975152@qq.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap?
Date: Fri, 3 Apr 2020 06:31:36 -0700	[thread overview]
Message-ID: <CA+Gp1naEpvgD_b2hZ+KJHZ++iOBnUYfED4uPK1UGnrot7=i6jQ@mail.gmail.com> (raw)
In-Reply-To: <tencent_337538D3A0C95D4B401B1943EFCBC218B808@qq.com>

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 &amp; secondary both? OR
> is this on a roadmap?
>
>
> Any help will be greatly appreciated.
>
>
> Zhu Hengbo
>
> 发自我的iPhone

  reply	other threads:[~2020-04-03 13:31 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
2020-04-03 13:31   ` Cliff Burdick [this message]
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='CA+Gp1naEpvgD_b2hZ+KJHZ++iOBnUYfED4uPK1UGnrot7=i6jQ@mail.gmail.com' \
    --to=shaklee3@gmail.com \
    --cc=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).