Re: [RFC 0/2] Retrieve tph from dmabuf for PCIe P2P memory access
From: Zhiping Zhang <hidden>
Date: 2026-02-09 23:28:45
Also in:
linux-pci, linux-rdma
From: Zhiping Zhang <hidden>
Date: 2026-02-09 23:28:45
Also in:
linux-pci, linux-rdma
On Mon, Feb 08, 2026 at 10:13:00AM -0800, Jason Gunthor write:
On Mon, Feb 09, 2026 at 09:53:10AM -0800, Zhiping Zhang wrote:quoted
Currently, the steering tag can be used for a CPU on the motherboard; the ACPI check is in place to query and obtain the supported tph settings. Here we intend to use the tph info to improve RDMA NIC memory access on a vfio-based accelerator device via PCIe peer-to-peer. When an applicantion register a RDMA memory region with DMABUF for the RDMA NIC to access the device memory, the tph associated with the memory region can be retrieved and used to set the steering tag / process hint (ph). The tph contains additional instructions or hints to the GPU or accelerator device for advanced memory operations, such as, read cache selection. Note this RFC is for the discussion on the direction and is not intended to be a complete implementation. Once the direction is agreed on, we will work on the implementation or a real patch set.you didn't cc the DRM people who really need to look at any changes to the dmabuf contract. Jason
Thanks, let me submit again including the DRM people via the mailing list dri-devel@lists.freedesktop.org. Zhiping