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

2023-03-21 Thread Tyler Retzlaff
7;ice-rest' thread, end normally. > > 2. Define vsi_update_thread_num as rte_atomic32_t. > > > > > -Original Message- > > > From: Zhang, Qi Z > > > Sent: 2023年3月20日 20:53 > > > To: Ye, MingjinX ; dev@dpdk.org > > > Cc: Yang, Qiming ;

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

2023-03-21 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Tuesday, March 21, 2023 10:08 AM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Zhang, Ke1X > Subject: RE: [PATCH v5] net/ice: fix ice dcf control thread crash >

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

2023-03-20 Thread Ye, MingjinX
, Qi Z > Sent: 2023年3月20日 20:53 > To: Ye, MingjinX ; dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Zhang, Ke1X > Subject: RE: [PATCH v5] net/ice: fix ice dcf control thread crash > > for (;;) { > > + if (hw->vc_event_msg_cb == NU

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

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

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

2023-03-20 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