eal: make semantics of lcore role function more intuitive