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

2023-11-08 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Wednesday, November 8, 2023 7:40 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Ye, MingjinX ; > sta...@dpdk.org; Zhang, Qi Z > Subject: [PATCH v7] net/ice: fix crash on closing representor ports &

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

2023-11-08 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