From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B076CA04B5 for ; Thu, 29 Oct 2020 09:30:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 84680C810; Thu, 29 Oct 2020 09:30:08 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id D07C7BE41 for ; Thu, 29 Oct 2020 09:30:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603960203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zEaUCf5gtrQvLh+qxOK/fpyF27EA6LCG9kHUOudnB0Y=; b=fCv6C9EJ6eL4mNrCKBx9vM0QriZ+LWhHt6mf6gi7VRkzTWu8v/RJetn/xwChjh74u+G0mL ida35uVJG5hSF6LiWazUXHP6CA8QDb0OIooMKxUJWn0vEl+hCr10gCoCoFJ9icBKk8VPgr S2kj+6vX/1AZWTxuz0TmNfhQspBmk9c= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-_qRjt7OPP5yPDMVES8Dprg-1; Thu, 29 Oct 2020 04:30:01 -0400 X-MC-Unique: _qRjt7OPP5yPDMVES8Dprg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 779BD1018F7A; Thu, 29 Oct 2020 08:29:59 +0000 (UTC) Received: from [10.36.110.11] (unknown [10.36.110.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 98B8F5B4A0; Thu, 29 Oct 2020 08:29:55 +0000 (UTC) To: Xueming Li , Matan Azrad , Viacheslav Ovsiienko Cc: dev@dpdk.org, Asaf Penso , matan@mellanox.com, stable@dpdk.org References: <1603881879-19275-1-git-send-email-xuemingl@nvidia.com> <1603881879-19275-2-git-send-email-xuemingl@nvidia.com> From: Maxime Coquelin Message-ID: <4000bcb8-c338-352b-556f-bca6dddb240d@redhat.com> Date: Thu, 29 Oct 2020 09:29:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <1603881879-19275-2-git-send-email-xuemingl@nvidia.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v1 2/2] vdpa/mlx5: specify lag port affinity X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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@mellanox.com > Cc: stable@dpdk.org > > Signed-off-by: Xueming Li > Acked-by: Matan Azrad > Reviewed-by: Maxime Coquelin > --- > 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