RE: [PATCH v6] net/ice: fix crash on closing representor ports

2023-11-07 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Tuesday, November 7, 2023 6:12 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Ye, MingjinX > ; sta...@dpdk.org; Zhang, Qi Z > > Subject: [PATCH v6] net/ice: fix crash on closing representor ports > &g

[PATCH v6] net/ice: fix crash on closing representor ports

2023-11-07 Thread Mingjin Ye
The data resource in struct rte_eth_dev is cleared and points to NULL when the DCF port is closed. If the DCF representor port is closed after the DCF port is closed, a segmentation fault occurs because the representor port accesses the data resource released by the DCF port. This patch fixes thi