[dpdk-dev] [PATCH v2 5/5] vdpa/mlx5: support queue update

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jun 26 14:29:12 CEST 2020



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 <matan at 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.coquelin at redhat.com>


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

Thanks,
Maxime



More information about the dev mailing list