s/recteate/recreate/ On 3/31/20 1:12 PM, Matan Azrad wrote: > The virtq configuarations may be changed when it moves from disabled
s/configuarations/configurations/ > state to enabled state. > > Listen to the state callback even if the device is not configured. > Recreate the virtq when it moves from disabled state to enabled state > and when the device is configured. > > Signed-off-by: Matan Azrad <ma...@mellanox.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@mellanox.com> > --- > drivers/vdpa/mlx5/mlx5_vdpa.c | 12 +++-- > drivers/vdpa/mlx5/mlx5_vdpa.h | 39 +++++++++++++++-- > drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 17 +++++--- > drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 87 > ++++++++++++++++++------------------- > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 59 ++++++++++++++++++++++--- > 5 files changed, 146 insertions(+), 68 deletions(-) > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime