* [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? [not found] <tencent_EC870C8A7707616BDC619C2C50A62E382007@qq.com> @ 2020-04-03 1:12 ` 403975152 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==?= 0 siblings, 2 replies; 3+ messages in thread From: 403975152 @ 2020-04-03 1:12 UTC (permalink / raw) To: users 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 发自我的iPhone ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 2020-04-03 1:12 ` [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 403975152 @ 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==?= 1 sibling, 0 replies; 3+ messages in thread From: Cliff Burdick @ 2020-04-03 13:31 UTC (permalink / raw) To: 403975152; +Cc: 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 > > 发自我的iPhone ^ permalink raw reply [flat|nested] 3+ messages in thread
* [dpdk-users] =?gb18030?q?How_to_compile_librte=5Feal_using_static_link_of_libc=A3=BF?= 2020-04-03 1:12 ` [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 403975152 2020-04-03 13:31 ` Cliff Burdick @ 2020-06-24 7:39 ` =?gb18030?B?SHViYmxlX1podQ==?= 1 sibling, 0 replies; 3+ messages in thread From: =?gb18030?B?SHViYmxlX1podQ==?= @ 2020-06-24 7:39 UTC (permalink / raw) To: =?gb18030?B?dXNlcnM=?= [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="gb18030", Size: 558 bytes --] Hi£¬all I want to compile librte_eal with static link of libc.a. I have tried to add LDLIBS += -Wl,-Bstatic -lc -Wl,-Bdynamic in dpdk-19.11/lib/librte_eal/linux/eal/Makefile compile ok, but my program meet SIGSEGV when start. core dump at getauxval()... So i wanna ask how to make compile with static link of libc work. Any help will be highly appreciated. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-24 7:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <tencent_EC870C8A7707616BDC619C2C50A62E382007@qq.com> 2020-04-03 1:12 ` [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 403975152 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==?=
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).