RE: [PATCH 2/2] ethdev: fix the race condition for fp ops reset

2021-11-10 Thread Bing Zhao
pdk.org > Subject: Re: [PATCH 2/2] ethdev: fix the race condition for fp ops > reset > > External email: Use caution opening links or attachments > > > 10/11/2021 15:37, Ananyev, Konstantin: > > > > Hi Ferruh, > > > > > >> 22/10/2021 23:1

Re: [PATCH 2/2] ethdev: fix the race condition for fp ops reset

2021-11-10 Thread Thomas Monjalon
10/11/2021 15:37, Ananyev, Konstantin: > > Hi Ferruh, > > > >> 22/10/2021 23:14, Bing Zhao: > > >>> In the function "eth_dev_fp_ops_reset", a structure assignment > > >>> operation is used to reset one queue's callback functions, etc., but > > >>> it is not thread safe. > > >>> > > >>> The struct

RE: [PATCH 2/2] ethdev: fix the race condition for fp ops reset

2021-11-10 Thread Ananyev, Konstantin
Hi Ferruh, > >> 22/10/2021 23:14, Bing Zhao: > >>> In the function "eth_dev_fp_ops_reset", a structure assignment > >>> operation is used to reset one queue's callback functions, etc., but > >>> it is not thread safe. > >>> > >>> The structure assignment is not atomic, a lot of instructions will

Re: [PATCH 2/2] ethdev: fix the race condition for fp ops reset

2021-11-10 Thread Ferruh Yigit
On 10/23/2021 12:39 PM, Ananyev, Konstantin wrote: 22/10/2021 23:14, Bing Zhao: In the function "eth_dev_fp_ops_reset", a structure assignment operation is used to reset one queue's callback functions, etc., but it is not thread safe. The structure assignment is not atomic, a lot of instruct