[dpdk-dev] eal: map shared config into exact same address as primary process (for freebsd)

txcy uio txcyuio at gmail.com
Wed Aug 3 00:31:13 CEST 2016


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


More information about the dev mailing list