Re: [PATCH v2] graph: avoid accessing graph list when getting stats

2024-06-18 Thread David Marchand
On Mon, Apr 1, 2024 at 10:37 PM Robin Jarry wrote: > > In rte_graph_cluster_stats_get, the walk model of the first graph is > checked to determine if multi-core dispatch specific counters should be > updated or not. This global list is accessed without any locks. > > If the global list is modified

RE: [EXTERNAL] [PATCH v2] graph: avoid accessing graph list when getting stats

2024-04-03 Thread Kiran Kumar Kokkilagadda
> -Original Message- > From: Robin Jarry > Sent: Tuesday, April 2, 2024 2:07 AM > To: dev@dpdk.org; Jerin Jacob ; Kiran Kumar > Kokkilagadda ; Nithin Kumar Dabilpuram > ; Zhirun Yan > Subject: [EXTERNAL] [PATCH v2] graph: avoid accessing graph list when getting &g

[PATCH v2] graph: avoid accessing graph list when getting stats

2024-04-01 Thread Robin Jarry
In rte_graph_cluster_stats_get, the walk model of the first graph is checked to determine if multi-core dispatch specific counters should be updated or not. This global list is accessed without any locks. If the global list is modified by another thread while rte_graph_cluster_stats_get is called,