eal: enable non-legacy memory mode
Now that every other piece of the puzzle is in place, enable non-legacy init mode. Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Tested-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com> Tested-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
This commit is contained in:
parent
c2c167fdb3
commit
6b42f75632
@ -772,8 +772,6 @@ rte_eal_init(int argc, char **argv)
|
|||||||
rte_atomic32_clear(&run_once);
|
rte_atomic32_clear(&run_once);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* for now, always set legacy mem */
|
|
||||||
internal_config.legacy_mem = 1;
|
|
||||||
|
|
||||||
if (eal_plugins_init() < 0) {
|
if (eal_plugins_init() < 0) {
|
||||||
rte_eal_init_alert("Cannot init plugins\n");
|
rte_eal_init_alert("Cannot init plugins\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user