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

2023-03-17 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Friday, March 17, 2023 1:10 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Ke1X ; Zhang, Qi Z > Subject: [PATCH v4] net/ice: fix ice dcf control threa

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

2023-03-16 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 two v