From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33449331A6D for ; Thu, 26 Mar 2026 05:27:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774502881; cv=none; b=Qyqxx/c9Ly6+xpp70PP376vXB6ifKfUI70nH4aLIZ6tfpJcHMYgzDAaF/pZ27M1fDU/cSPzow/uLNDbP54GNLdT9Wc+zH6JljWGNZImfo8wpEtN0Y1eUls+pws1zzGsmwZcr+n5rOYOGfuNKg1jd0pd+rOgnZFcjxxXVWDxESgY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774502881; c=relaxed/simple; bh=WT/fYtyEYj45+gDAyMqPQDc2mnrVQi6jFOebj7IsXjI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Iw8R0EwV7uRXVmvfsCzTpWR8leUi1LijnAoh7iZIAr3RUpfdCx0Rg1PvoAiZ6G9bblMLAKBU9JZWKQS1vFXNMcXt/uIFYDQ//OkOBek4RV+F3psfV3nkiUvpUmOyDF+o2j1+KoOnCiID4dG9za8XE2kmcgyl7o8cYLG2ocCcpF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=iWCfnFyH; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="iWCfnFyH" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1774502877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F+Qam07c9pVtUz6TL2pUyQIgJng9H+3zk5X4WM4M1EY=; b=iWCfnFyHxLX0wJz86K4IjyC2WAR6wf01GYYWWpVZk/oenO0SPX1TnfnCD2weTRXQkkbNwV gK3M0S0xnVt+/qFjfAidx6PXgfd35BX9OV73cljjm2nYRZOZx82NOnlLIGUEY0wpXzLZlG xDoYUW4SfV8jt73uEmbli/6FCnt7HuI= From: Zhu Yanjun To: jgg@ziepe.ca, leon@kernel.org, zyjzyj2000@gmail.com, linux-rdma@vger.kernel.org, yanjun.zhu@linux.dev, mie@igel.co.jp Subject: [PATCH 0/2] RDMA/rxe: Add dma-buf support for Soft-RoCE Date: Wed, 25 Mar 2026 22:27:37 -0700 Message-ID: <20260326052739.3778-1-yanjun.zhu@linux.dev> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT This patchset introduces dma-buf support for the Soft-RoCE (RXE) driver. By enabling dma-buf, RXE can now participate in zero-copy data transfers with other providers (such as GPUs) that export memory via dma-buf fds. Traditionally, RXE only supported user-space memory regions (UMEM) based on system RAM. This change extends RXE’s capability to handle peer-to-peer (P2P) like workflows in a software-defined RDMA environment. This patchset pass the rdma-core tests with the following link for the rdma-core: https://github.com/linux-rdma/rdma-core/pull/1055 Zhu Yanjun (2): RDMA/umem: Change for rdma devices has not dma device RDMA/rxe: Add dma-buf support drivers/infiniband/core/umem_dmabuf.c | 35 ++++++++++- drivers/infiniband/sw/rxe/rxe.c | 2 + drivers/infiniband/sw/rxe/rxe_loc.h | 2 + drivers/infiniband/sw/rxe/rxe_mr.c | 89 ++++++++++++++++++++++++--- drivers/infiniband/sw/rxe/rxe_odp.c | 2 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 40 ++++++++++++ drivers/infiniband/sw/rxe/rxe_verbs.h | 2 +- include/rdma/ib_umem.h | 1 + 8 files changed, 161 insertions(+), 12 deletions(-) -- 2.53.0