[dpdk-dev] [PATCH v1 2/2] vdpa/mlx5: specify lag port affinity

Maxime Coquelin maxime.coquelin at redhat.com
Thu Oct 29 09:29:52 CET 2020



On 10/28/20 11:44 AM, Xueming Li wrote:
> If set TIS lag port affinity to auto, firmware assign port affinity on
> each creation with Round Robin. In case of 2 PFs, if create virtq,
> destroy and create again, then each virtq will get same port affinity.
> 
> To resolve this fw limitation, this patch sets create TIS with specified
> affinity for each PF.
> 
> Fixes: bff735011078 ("vdpa/mlx5: prepare virtio queues")
> Cc: matan at mellanox.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
>  drivers/vdpa/mlx5/mlx5_vdpa.c       |  3 +++
>  drivers/vdpa/mlx5/mlx5_vdpa.h       |  3 ++-
>  drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 23 ++++++++++++++---------
>  3 files changed, 19 insertions(+), 10 deletions(-)


Applied to dpdk-next-virtio/main.

Thanks!
Maxime



More information about the dev mailing list