Re: [PATCH 4/5] net/hns3: fix TM thread safety risk

2023-08-07 Thread Dongdong Liu
Hi Stephen On 2023/8/5 23:58, Stephen Hemminger wrote: On Sat, 5 Aug 2023 16:36:26 +0800 Dongdong Liu wrote: From: Chengwen Feng The driver-related TM (traffic management) info is implemented through the linked list. The following threads are involved in the read and write of the TM info:

Re: [PATCH 4/5] net/hns3: fix TM thread safety risk

2023-08-05 Thread Stephen Hemminger
On Sat, 5 Aug 2023 16:36:26 +0800 Dongdong Liu wrote: > From: Chengwen Feng > > The driver-related TM (traffic management) info is implemented through > the linked list. The following threads are involved in the read and > write of the TM info: > > 1. main thread: invokes the rte_tm_xxx() API