mbox series

[0/3] vdpa/mlx5: recreate a virtq becoming enabled

Message ID 1587902856-443267-1-git-send-email-matan@mellanox.com (mailing list archive)
Headers
Series vdpa/mlx5: recreate a virtq becoming enabled |

Message

Matan Azrad April 26, 2020, 12:07 p.m. UTC
Since a virtq configuration may be changed in disable state it is better to recreate a virtq becoming enabled.
This series adding this behaviour to the mlx5 driver for vDPA.

v2:
1. Address Maxime comments:
        - returning -1 for out of range error.
        - commit massage spelling.
2. rebase.

Matan Azrad (3):
  vdpa/mlx5: manage virtqs by array
  vdpa/mlx5: separate virtq stop
  vdpa/mlx5: recreate a virtq becoming enabled

 drivers/vdpa/mlx5/mlx5_vdpa.c       |  47 +++++++--------
 drivers/vdpa/mlx5/mlx5_vdpa.h       |  54 +++++++++++++++--
 drivers/vdpa/mlx5/mlx5_vdpa_lm.c    |  57 ++++++++----------
 drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 103 ++++++++++++++++----------------
 drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 113 +++++++++++++++++++++++++++---------
 5 files changed, 231 insertions(+), 143 deletions(-)
  

Comments

Maxime Coquelin April 28, 2020, 4:07 p.m. UTC | #1
On 4/26/20 2:07 PM, Matan Azrad wrote:
> Since a virtq configuration may be changed in disable state it is better to recreate a virtq becoming enabled.
> This series adding this behaviour to the mlx5 driver for vDPA.
> 
> v2:
> 1. Address Maxime comments:
>         - returning -1 for out of range error.
>         - commit massage spelling.
> 2. rebase.
> 
> Matan Azrad (3):
>   vdpa/mlx5: manage virtqs by array
>   vdpa/mlx5: separate virtq stop
>   vdpa/mlx5: recreate a virtq becoming enabled
> 
>  drivers/vdpa/mlx5/mlx5_vdpa.c       |  47 +++++++--------
>  drivers/vdpa/mlx5/mlx5_vdpa.h       |  54 +++++++++++++++--
>  drivers/vdpa/mlx5/mlx5_vdpa_lm.c    |  57 ++++++++----------
>  drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 103 ++++++++++++++++----------------
>  drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 113 +++++++++++++++++++++++++++---------
>  5 files changed, 231 insertions(+), 143 deletions(-)
> 

Applied to dpdk-next-virtio/master

Thanks,
Maxime