> -----Original Message----- > From: stable <stable-boun...@dpdk.org> On Behalf Of Matan Azrad > Sent: Monday, March 1, 2021 6:42 PM > To: dev@dpdk.org > Cc: Maxime Coquelin <maxime.coque...@redhat.com>; sta...@dpdk.org > Subject: [dpdk-stable] [PATCH] vdpa/mlx5: fix virtq cleaning > > The HW virtq object can be destroyed ether when the device is closed or > when the state of the virtq becomes disabled. > > Some parameters of the virtq should continue to be managed when the > virtq state is changed but all of them must be initialized when the > device is closed. > > Wrongly, the enable parameter stayed on when the device is closed what > might cause creation of invalid virtq in the next time a device is > assigned to the driver. > > Clean all the virtqs memory when the device is closed. > > Fixes: c47d6e83334e ("vdpa/mlx5: support queue update") > Cc: sta...@dpdk.org > > Signed-off-by: Matan Azrad <ma...@nvidia.com> > Acked-by: Xueming Li <xuemi...@nvidia.com> > --- > 1.8.3.1
With commit log fixed, patch applied to next-virtio/main. Thanks!