Replace old lcore role enum names with new RTE_LCORE_ prefixed names
in graph library.

Signed-off-by: Huisong Li <[email protected]>
---
 lib/graph/graph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/graph/graph.c b/lib/graph/graph.c
index 5f8ada2185..8165a0a932 100644
--- a/lib/graph/graph.c
+++ b/lib/graph/graph.c
@@ -359,7 +359,7 @@ rte_graph_model_mcore_dispatch_core_bind(rte_graph_t id, 
int lcore)
                goto fail;
        }
 
-       if (rte_lcore_has_role(lcore, ROLE_OFF))
+       if (rte_lcore_has_role(lcore, RTE_LCORE_ROLE_OFF))
                SET_ERR_JMP(ENOLINK, fail, "lcore %d is invalid", lcore);
 
        STAILQ_FOREACH(graph, &graph_list, next)
-- 
2.33.0

Reply via email to