* [dpdk-dev] eal: map shared config into exact same address as primary process (for freebsd)
@ 2016-08-02 22:31 txcy uio
2016-08-03 7:55 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: txcy uio @ 2016-08-02 22:31 UTC (permalink / raw)
To: thomas.monjalon, dev
Hello
I am getting a segmentation fault on freebsd 10 due to the shared config
mismatch between the primary and secondary process -
The following commit seems to have fixed this issue long time back on Linux
but was never ported to freebsd.
http://dpdk.org/browse/dpdk/commit/?id=6258f1c942c3e0b7bb715158cc266eede6521ddf
Was there any specific reason for not fixing this on freebsd?
FYI -
secondary process :
(gdb) p rte_config
$2 = {master_lcore = 7, lcore_count = 2, lcore_role = {ROLE_OFF, ROLE_OFF,
ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_OFF, ROLE_RTE,
ROLE_RTE, ROLE_OFF <repeats 120 times>}, process_type =
RTE_PROC_SECONDARY, mem_config = 0x800670000}
primary proces :
(gdb) p rte_config
$2 = {master_lcore = 0, lcore_count = 6, lcore_role = {ROLE_RTE, ROLE_RTE,
ROLE_RTE, ROLE_RTE, ROLE_RTE, ROLE_RTE,
ROLE_OFF <repeats 122 times>}, process_type = RTE_PROC_PRIMARY,
mem_config = 0x800675000}
--tyc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-03 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 22:31 [dpdk-dev] eal: map shared config into exact same address as primary process (for freebsd) txcy uio
2016-08-03 7:55 ` Thomas Monjalon
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).