From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (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 C1888B666 for ; Sat, 3 May 2025 17:09:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746292157; cv=none; b=qLkvEUhJ6p2o7ZIV64NN4W/tv2wRkvF7A2Jl6qlbxA3uO72b0z3tBl/nqCuAVkfY0XXbCiNRzaTUJ/nXXO5VGFoB/inr+8F6XpVzhwZgaTBtBJqmTLcOBKOuKFgULOUPsqdBIbV1f0DskRL0QSCR7WJFD4qd98j27sbpNdO+qMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746292157; c=relaxed/simple; bh=FleqDfiObPr8jP+5s/PoHluFECmo3SPNCYvz28dRJME=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=WIeq89+QGqI+nUjDLFuKAixCeeNcvlOCwFJSt5TRBQ3luMlPjT7Ec/Drqb/D85f38B1ACZpVV4yQpRurdn4gC/QOHgmebAnY/Q8Xor2zBRDJAk6Fyb9HZCyUMWN/zD+ynXpzGhOL4bWoP3YUBADl+8iRKRyBfXx5Ey+hArGuy1I= 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=DBTrSVlQ; arc=none smtp.client-ip=95.215.58.187 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="DBTrSVlQ" Message-ID: <526be00d-98e6-45fb-a5d3-eb26fd7a88d0@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1746292141; 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: in-reply-to:in-reply-to:references:references; bh=V94ddVQ1zhWCBXX5FZkArsyB/+5j2pO6MRwYFNaWc2Y=; b=DBTrSVlQIYONaN+kW+hqnk/Vub5FuXhLBccaTA1HMUCyZHqn4hIKnm7CuC03vV+K1c9SDT MNV623GFY6Vbdft4VzGrmMfYMPs+gs333QZ7hnKrXmCjrCrab6UJgm6PadeCBaeYcL1DMV T1bx2XAHIU00a01/zy2KPKWU/tt7leI= Date: Sat, 3 May 2025 19:08:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH for-next v2 0/2] RDMA/rxe: Prefetching pages with explicit ODP To: Daisuke Matsuda , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, leon@kernel.org, jgg@ziepe.ca, zyjzyj2000@gmail.com References: <20250503134224.4867-1-dskmtsd@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <20250503134224.4867-1-dskmtsd@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2025/5/3 15:42, Daisuke Matsuda 写道: > There is ibv_advise_mr(3) that can be used by applications to optimize > memory access. This series enables the feature on rxe driver, which has > already been available in mlx5. > > There is a tiny change on the rdma-core util. > cf. https://github.com/linux-rdma/rdma-core/pull/1605 Hi, Daisuke Thanks a lot for your efforts to this patch series. It is very nice. With this patch series, we can make prefetch for ODP MRs of RXE. I read through this patch series. And it seems fine with me.^_^ IIRC, you have added ODP testcases in rdma-core. To verify this prefetch work well for ODP MRs, can you add this synchronous/asynchronous prefetch to the ODP testcases in rdma-core? Thus, we can verify this patch series. And in the future, we can use these testcases to confirm this prefetch feature work well. To now, it seems that no tool can verify this prefetch feature. Thanks a lot. Zhu Yanjun > > Daisuke Matsuda (2): > RDMA/rxe: Implement synchronous prefetch for ODP MRs > RDMA/rxe: Enable asynchronous prefetch for ODP MRs > > drivers/infiniband/sw/rxe/rxe.c | 7 ++ > drivers/infiniband/sw/rxe/rxe_loc.h | 10 ++ > drivers/infiniband/sw/rxe/rxe_odp.c | 165 ++++++++++++++++++++++++++++ > 3 files changed, 182 insertions(+) >