eal/freebsd: fix config creation
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 12 Jul 2019 14:48:08 +0000 (15:48 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 14 Jul 2019 13:37:19 +0000 (15:37 +0200)
commite6d3c09282d88e904e4255a0c81e0c19a92217c1
treef58bc10b698f25fbaf7182b47cdf55119f066db2
parent16015fd65a5532604139d4c597e1c16027209c4e
eal/freebsd: fix config creation

The config create function did not store the mem config address in
the shared memconfig structure, so the secondary processes couldn't
map it at the required address.

Fixes: b149a7064261 ("eal/freebsd: add config reattach in secondary process")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/freebsd/eal/eal.c