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: ma...@mellanox.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Xueming Li <xuemi...@nvidia.com>
> Acked-by: Matan Azrad <ma...@nvidia.com>
> Reviewed-by: Maxime Coquelin <maxime.coque...@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