> -----Original Message----- > From: Yu, DapengX <dapengx...@intel.com> > Sent: Monday, October 11, 2021 3:26 PM > To: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z > <qi.z.zh...@intel.com> > Cc: dev@dpdk.org; Yu, DapengX <dapengx...@intel.com>; sta...@dpdk.org > Subject: [PATCH] net/ice: fix freeing queues on DCF device reset > > From: Dapeng Yu <dapengx...@intel.com> > > 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: sta...@dpdk.org > > Signed-off-by: Dapeng Yu <dapengx...@intel.com> Acked-by: Qi Zhang <qi.z.zh...@intel.com> Applied to dpdk-next-net-intel after refined the commit log. Thanks Qi