]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/dpaa/dpaa_bus.c
eal: rename lcore master and slave
[dpdk.git] / drivers / bus / dpaa / dpaa_bus.c
index 32e872da5209019081f0236be8225af66bc1c492..c94c72106f2c0b6e40a338cd62d53ffa34abd624 100644 (file)
@@ -257,7 +257,7 @@ int rte_dpaa_portal_init(void *arg)
        BUS_INIT_FUNC_TRACE();
 
        if ((size_t)arg == 1 || lcore == LCORE_ID_ANY)
-               lcore = rte_get_master_lcore();
+               lcore = rte_get_main_lcore();
        else
                if (lcore >= RTE_MAX_LCORE)
                        return -1;