Re: [PATCH v2 2/3] graph: add support for node free API

2024-11-11 Thread Huichao Cai
By the way, I don't know where to consult about this issue at the moment. Please forgive me for discussing this issue here. Can we set up a chat box on this page instead of having to comment through email or git send email? Many email clients cannot set the In Reply To header or do not currently

Re: [PATCH v2 2/3] graph: add support for node free API

2024-11-11 Thread Huichao Cai
Do these newly added functions need to protect the linked list with spin lock graph_stpinlock_lock?

[PATCH v2 2/3] graph: add support for node free API

2024-11-10 Thread kirankumark
From: Kiran Kumar K Add support for rte_node_free API to free the node and its memory, if node is not part of any of the created graphs. Signed-off-by: Kiran Kumar K --- lib/graph/graph.c | 16 lib/graph/graph_private.h | 13 + lib/graph/node.c | 2