[EXTERNAL] [PATCH] test/graph: fix graph autotest second test failure

Kiran Kumar Kokkilagadda kirankumark at marvell.com
Wed Oct 23 14:42:51 CEST 2024



> -----Original Message-----
> From: Huichao Cai <chcchc88 at 163.com>
> Sent: Wednesday, October 23, 2024 8:15 AM
> To: Kiran Kumar Kokkilagadda <kirankumark at marvell.com>
> Cc: Jerin Jacob <jerinj at marvell.com>; Nithin Kumar Dabilpuram
> <ndabilpuram at marvell.com>; yanzhirun_163 at 163.com; dev at dpdk.org
> Subject: Re:RE: [EXTERNAL] [PATCH] test/graph: fix graph autotest second test
> failure
> 
> At present rte_graph_destroy will only clean up the struct rte_node and struct
> graph_node, not the struct node, rte_node_clone creates the struct node,
> inserts the global node_list linked list, there is no function to clean up the
> node_list 
> 
> At present rte_graph_destroy will only clean up the struct rte_node and struct
> graph_node,
> 
> not the struct node, rte_node_clone creates the struct node, inserts the global
> node_list linked list,
> 
> there is no function to clean up the node_list linked list, if you want to clean up
> the node
> 
> created by rte_node_clone, Perhaps a new function needs to be added to
> clean up node_list linked lists.
> 
> Or write a test case function to clean up the nodes that are cloned by this test
> case.

It makes sense to have an API to clean up the nodes. Are you planning to add this?
If not, we can plan and add new API.






More information about the dev mailing list