On 6/25/20 3:38 PM, Matan Azrad wrote:
> Last changes in vDPA device management by vhost library may cause queue
> ready state update after the device configuration.
> 
> So, there is chance that some queue configuration information will be
> known only after the device was configured.
> 
> Add support to reconfigure a queue after the device configuration
> according to the queue state update and the configuration changes.
> 
> Adjust the host notifier and the guest notification configuration to be
> per queue and to be applied in the enablement process.
> 
> Signed-off-by: Matan Azrad <ma...@mellanox.com>
> ---
>  drivers/vdpa/mlx5/mlx5_vdpa.c       | 26 ------------
>  drivers/vdpa/mlx5/mlx5_vdpa.h       |  8 +++-
>  drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 80 
> ++++++++++++++++++++++++++-----------
>  3 files changed, 64 insertions(+), 50 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>


@Xiao, we'll need same thing inthe IFC dirver, i.e. check for state
change (new FDs) on enablement.

Thanks,
Maxime

Reply via email to