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 6CD064619F; Wed, 5 Feb 2025 16:47:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5067A402DA; Wed, 5 Feb 2025 16:47:25 +0100 (CET) Received: from fout-a5-smtp.messagingengine.com (fout-a5-smtp.messagingengine.com [103.168.172.148]) by mails.dpdk.org (Postfix) with ESMTP id 5E72E40289 for ; Wed, 5 Feb 2025 16:47:24 +0100 (CET) Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id C1E0013801BC; Wed, 5 Feb 2025 10:47:23 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Wed, 05 Feb 2025 10:47:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1738770443; x=1738856843; bh=k5jpelpTVfLngtTZHDTOscZqxwULFE7Bu2cN07IFsio=; b= fR8XBU/2U3zhDME8Q6Q0vqbIydAjXJMaukZnRFEV4zqhJLzAVTD9wS9Rqeg9ZrJw HAgxx1aoMo+73kH1PbOTBMYgkG6UHCL3Zjgkyn22R8ZLN/CCbkiClCnCY7uW0+1+ aHv49BkMhkfocO5zDDQbKchNcqkZei+Fyfz5eclATb3U8DVMPDHxRLPsteQYEYkX bQsDu7Q07qfrl0TDHtEASnxZSgS+YOEVt6ebpRRJ8KS5JgGjiCTC9hHvvqS0k4gE v8PR1MLjIKbdksIpO0qtENSvx8iNPLGfIwm4KGKgARxEmgOuVvk5eNlJEGP4CWaF COoJcl8l53O2RMKLhT3bOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1738770443; x= 1738856843; bh=k5jpelpTVfLngtTZHDTOscZqxwULFE7Bu2cN07IFsio=; b=X CGTxdayaJFYOtaozpVmqKdwVs4oE7xax7W05SO/2tm08sn40Tzcq/RqtRWF6PSKU q6klRkTplpefPqGSHqJVKUxB4Sy12s4zaObMKlxuELJPeq6Bx0DJ7rb6vWkM7LSe YVzL6Iz2VlkUOB06R/jXarh9G7NF6pV3uo9J0yR45R8pEUYFtIuFOpP6ykYbUqq6 +zlf06Rmm2XXHwRNFMOJE8qOVZU9hSWt3osIvUUkKxEQlyik4jBV5Ry8dCpsDq3V ZAQ8ZWXiEHSJNr4nlrAQS2vBBkD8e6I4JTMfEYzkfxJtSl4NFNyaZhGmVE78N0mk UlYqWayxDsdkYUAm2kDlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvfeekiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdej necuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjh grlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepjeduveehieevuddutdevfffgtdeg keeuveejffejgedtgeegkefgvdeugfefkeejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthdp nhgspghrtghpthhtohepuddupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegsrh hutggvrdhrihgthhgrrhgushhonhesihhnthgvlhdrtghomhdprhgtphhtthhopeifrghn rhihseihuhhnshhilhhitghonhdrtghomhdprhgtphhtthhopeguvghvseguphgukhdroh hrghdprhgtphhtthhopehfvghrrhhuhhdrhihighhithesrghmugdrtghomhdprhgtphht thhopehsthgvphhhvghnsehnvghtfihorhhkphhluhhmsggvrhdrohhrghdprhgtphhtth hopehqihgrnhhrseihuhhnshhilhhitghonhdrtghomhdprhgtphhtthhopehnrghnrges hihunhhsihhlihgtohhnrdgtohhmpdhrtghpthhtohepiihhrghnghiggieshihunhhsih hlihgtohhnrdgtohhmpdhrtghpthhtohepgihuugifseihuhhnshhilhhitghonhdrtgho mh X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Feb 2025 10:47:21 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: Renyong Wan , dev@dpdk.org, ferruh.yigit@amd.com, stephen@networkplumber.org, qianr@yunsilicon.com, nana@yunsilicon.com, zhangxx@yunsilicon.com, xudw@yunsilicon.com, jacky@yunsilicon.com, weihg@yunsilicon.com Subject: Re: [PATCH v7 04/15] net/xsc: add xsc dev ops to support VFIO driver Date: Wed, 05 Feb 2025 16:47:20 +0100 Message-ID: <2301554.KTMopqUuYO@thomas> In-Reply-To: References: <20250128144649.1956159-1-wanry@yunsilicon.com> <2040007.zToM8qfIzz@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 05/02/2025 15:59, Bruce Richardson: > On Wed, Feb 05, 2025 at 03:43:30PM +0100, Thomas Monjalon wrote: > > 05/02/2025 15:37, Renyong Wan: > > > On 2025/2/5 19:44, Thomas Monjalon wrote: > > > > 28/01/2025 15:46, Renyong Wan: > > > >> XSC PMD is designed to support both VFIO and private kernel drivers. > > > > What's the benefit of private kernel drivers? Why are they private? > > > > > > Hello Thomas, > > > > > > Thanks for your review. > > > > > > It can support the bifurcation model without unbinding the kernel > > > driver, by utilizing our private kernel driver in conjunction with > > > rdma-core. Currently, our kernel driver is not open-source, so it is > > > considered a private kernel driver. This patch series only supports the > > > VFIO driver. Our kernel driver is currently in the process of being > > > open-sourced on kernel.org, and once it is available there, we also > > > plan to submit the code that supports our kernel driver to DPDK. > > > > OK that's interesting, thank you. > > > > I think it would be the first DPDK driver to support both VFIO or > > bifurcated model. > > > > Not quite the first, but possibly the first net driver? :-). The idxd > dmadev driver supports both. It can be used either with VFIO or the kernel > idxd driver. It announces only VFIO: RTE_PMD_REGISTER_KMOD_DEP(IDXD_PMD_DMADEV_NAME_PCI, "vfio-pci"); How does it work?