> -----Original Message----- > From: Yu, DapengX <[email protected]> > Sent: Monday, October 11, 2021 3:26 PM > To: Yang, Qiming <[email protected]>; Zhang, Qi Z > <[email protected]> > Cc: [email protected]; Yu, DapengX <[email protected]>; [email protected] > Subject: [PATCH] net/ice: fix freeing queues on DCF device reset > > From: Dapeng Yu <[email protected]> > > In function ice_dcf_stop_queues(), RX queues and TX queues are actually not > freed, so their pointers shall not be set to NULL when queues are stopped. > > This patch adds function call to free queues on DCF device close and reset, The patch only add function call in device close but not reset. > which also set the RX and TX queues' pointers to NULL on freeing queues, and > avoids referring to the released resource when device is started again. > > Fixes: 1a86f4dbdf42 ("net/ice: support DCF device reset") > Cc: [email protected] > > Signed-off-by: Dapeng Yu <[email protected]> Acked-by: Qi Zhang <[email protected]> Applied to dpdk-next-net-intel after refined the commit log. Thanks Qi

