[PATCH v2 05/15] common/mlx5: extend virtq modifiable fields

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jun 17 17:45:07 CEST 2022



On 6/16/22 04:30, Li Zhang wrote:
> A virtq configuration can be modified after the virtq creation.
> Added the following modifiable fields:
> 1.address fields: desc_addr/used_addr/available_addr
> 2.hw_available_index
> 3.hw_used_index
> 4.virtio_q_type
> 5.version type
> 6.queue mkey
> 7.feature bit mask: tso_ipv4/tso_ipv6/tx_csum/rx_csum
> 8.event mode: event_mode/event_qpn_or_msix
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>   drivers/common/mlx5/mlx5_devx_cmds.c | 70 +++++++++++++++++++++++-----
>   drivers/common/mlx5/mlx5_devx_cmds.h |  6 ++-
>   drivers/common/mlx5/mlx5_prm.h       | 13 +++++-
>   3 files changed, 76 insertions(+), 13 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list