From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D87F84558A; Wed, 10 Jul 2024 09:09:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C90AF402AF; Wed, 10 Jul 2024 09:09:26 +0200 (CEST) Received: from lf-2-33.ptr.blmpb.com (lf-2-33.ptr.blmpb.com [101.36.218.33]) by mails.dpdk.org (Postfix) with ESMTP id BAE124021D for ; Wed, 10 Jul 2024 09:09:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=dayudpu-com.20200927.dkim.feishu.cn; t=1720595350; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=WlSfUmqk+A0oX5BGnRfpCI2MdEOGZRkUOXwiG/zW6OQ=; b=zTL0VtWY1YoWOladHJ6zAshHMHJciaIP1m26ttA9H+ze/OEWqpdNBhzJi1iF6tfEp2YwIa F6jYvuNGEEvbmi5FodZ7/W35RyMiFlrsoEGe8GVqXG43swD3fD6mwtYKVOfZYISxijrGe5 pU8jjhixnQJLybPVdzeMOCoL8c2OBO2/QJpa6PPqrZys91S04LmvdoIYhscNSfmN4m932D xgNOdENTs+FfL+/3KMEKWfQ98jNKoR6u/ck9cU4Ljh54b0UqbBoSJG3OXtZ0MxjqTCqtLW uX4D/pnHsyzyDtUFeiOmPxEJZ5sROfoAY4L1p81Cv9wk2Urd9fZiQi1qL12srQ== From: "BillXiang" Mime-Version: 1.0 References: <20240703115943.44539-1-xiangwencheng@dayudpu.com> Date: Wed, 10 Jul 2024 15:09:08 +0800 Message-Id: To: "David Marchand" Cc: "Tyler Retzlaff" , "Anatoly Burakov" , Subject: Re: [PATCH v3] vfio: combine container_create and group_bind X-Lms-Return-Path: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > From: "David Marchand" > Date:=C2=A0 Tue, Jul 9, 2024, 16:49 > Subject:=C2=A0 Re: [PATCH v3] vfio: combine container_create and group_bi= nd > To: "BillXiang" > Cc: "Tyler Retzlaff", "Anatoly Burakov", > On Thu, Jul 4, 2024 at 9:48=E2=80=AFAM BillXiang wrote: > > > > From: BillXiang > > > > For multi-devices in one group we can only create and bind to one > > container. With this new function, device driver does not need to > > save the binding info additionally between different devices. > > > > Signed-off-by: BillXiang >=C2=A0 > Thanks for the patch (don't forget to register to the dev@ mailing > list when submitting patches). >=C2=A0 > Could you please describe which driver benefits from it? >=C2=A0 >=C2=A0 > --=C2=A0 > David Marchand Thanks for your replay. I have registered now. This patch addresses the issue for PCIe devices that have multiple PFs with= in=C2=A0 the same IOMMU group, a situation arising from the absence of ACS support. If we want to use these PFs in vDPA, we have to know if the group has been= =C2=A0 bound to a container by other PF upon each probe.