RE: [PATCH v6] net/ice: fix ice dcf control thread crash

2023-04-02 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Wednesday, March 22, 2023 1:56 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Ke1X ; Zhang, Qi Z > Subject: [PATCH v6] net/ice: fix ice dcf control threa

[PATCH v6] net/ice: fix ice dcf control thread crash

2023-03-21 Thread Mingjin Ye
The control thread accesses the hardware resources after the resources were released, which results in a segment error. The 'ice-reset' threads are detached, so thread resources cannot be reclaimed by `pthread_join` calls. This commit synchronizes the number of "ice-reset" threads by adding a var