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 8F5BCA04DD for ; Wed, 28 Oct 2020 10:37:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1DF9ECA8F; Wed, 28 Oct 2020 10:37:42 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id E7991C87C for ; Wed, 28 Oct 2020 10:35:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603877728; 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=H9t6i7+/9eLZaWn9BlkbiwmPwx/xue4JY0+jNNGIlyA=; b=fsCQ+QVlQURBdB6nXGyAogZvSOmKoPuDdtrLnxtZTYoEh9PeoPu6VltiQKkmpUFpFTbhJr a+G2Qgb9yhTrOm3hr3sQETyezUmJrNwkDMLkhOsKOIpls21kR0DPMLk4V5fe8mQ9rtXyai cUMT+PfGt5Sg9Jdc6AQf9GLoxQPB6aM= 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-208-JGvQdKJeOumbhLSMI4dDgg-1; Wed, 28 Oct 2020 05:35:24 -0400 X-MC-Unique: JGvQdKJeOumbhLSMI4dDgg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4982D188C12B; Wed, 28 Oct 2020 09:35:23 +0000 (UTC) Received: from [10.36.110.54] (unknown [10.36.110.54]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 68DFB5C221; Wed, 28 Oct 2020 09:35:21 +0000 (UTC) To: Xueming Li , Matan Azrad , Viacheslav Ovsiienko Cc: dev@dpdk.org, Asaf Penso , stable@dpdk.org References: <1603710656-32187-1-git-send-email-xuemingl@nvidia.com> <1603710656-32187-2-git-send-email-xuemingl@nvidia.com> From: Maxime Coquelin Message-ID: <63f6bcfc-b826-91d0-627f-414403e1a722@redhat.com> Date: Wed, 28 Oct 2020 10:35:17 +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: <1603710656-32187-2-git-send-email-xuemingl@nvidia.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 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/26/20 12:10 PM, 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. OK, this patch describes better the issue the series is addressing. Could you add a Fixes tag, so that it helps maintainers to backport it? Other than that: Reviewed-by: Maxime Coquelin Thanks, Maxime > Cc: stable@dpdk.org > > Signed-off-by: Xueming Li > Acked-by: Matan Azrad > --- > 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(-) >