> -----Original Message----- > From: stable <[email protected]> On Behalf Of Matan Azrad > Sent: Monday, March 1, 2021 6:42 PM > To: [email protected] > Cc: Maxime Coquelin <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Matan Azrad <[email protected]> > Acked-by: Xueming Li <[email protected]> > --- > 1.8.3.1
With commit log fixed, patch applied to next-virtio/main. Thanks!

