eal: initialize lcore and socket id