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

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

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

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