[dpdk-dev] [PATCH 3/3] vdpa/mlx5: recteate a virtq becoming enabled
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Apr 15 16:06:03 CEST 2020
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 <matan at mellanox.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at 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.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list