<html><head></head><body><div>On Wed, 2023-10-25 at 15:07 -0500, Ian May wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>SRU Justification:<br></div><div><br></div><div>[Impact]<br></div><div><br></div><div>* From Nvidia:<br></div><div><br></div><div>"We are working on a high performance networking solution with real customers. That solution is being developed using the Ubuntu 22.04 LTS distro release and the distro kernel (lowlatency flavour). This “dma_buf” patchset consists of upstreamed patches that allow buffers to be shared between drivers thus enhancing performance while reducing copying of data.<br></div><div><br></div><div>Our team is currently engaged in the development of a high-performance networking solution tailored to meet the demands of real-world customers. This cutting-edge solution is being crafted on the foundation of Ubuntu 22.04 LTS, utilizing the distribution's kernel, specifically the lowlatency flavor.<br></div><div><br></div><div>At the heart of our innovation lies the transformative "dma_buf" patchset, comprising a series of patches that have been integrated into the upstream kernel in 5.16 and 5.17. These patches introduce a groundbreaking capability: enabling the seamless sharing of buffers among various drivers. This not only bolsters the solution's performance but also minimizes the need for data copying, effectively enhancing efficiency across the board.<br></div><div><br></div><div>The new functionality is isolated such that existing user will not execute these new code paths."<br></div><div><br></div><div>Upstream Reference<br></div><div><br></div><div><a href="https://lore.kernel.org/all/20211012120903.96933-1-galpress@amazon.com/">https://lore.kernel.org/all/20211012120903.96933-1-galpress@amazon.com/</a><br></div><div><a href="https://lore.kernel.org/all/0-v1-bd147097458e+ede-umem_dmabuf_jgg@nvidia.com/">https://lore.kernel.org/all/0-v1-bd147097458e+ede-umem_dmabuf_jgg@nvidia.com/</a><br></div><div>The patch "[PATCH 1/4] net/mlx5: Add IFC bits for mkey ATS" is already in Jammy and was included in:<br></div><div>"2a1e6097e9b9 UBUNTU: SAUCE: RDMA/core: Updated ib_peer_memory"<br></div><div><br></div><div>[Test Plan]<br></div><div><br></div><div>* Testing instructions are outlined in the SF case and has been tested on in house hardware and externally by Nvidia.<br></div><div><br></div><div>[Where problems could occur?]<br></div><div><br></div><div>* This introduces new code paths so regression potential should be low.<br></div><div><br></div><div>[Other Info]<br></div><div><br></div><div>* SF#00370664<br></div><div><br></div><div><br></div><div>Gal Pressman (3):<br></div><div> dma-buf: Fix pin callback comment<br></div><div> RDMA/umem: Allow pinned dmabuf umem usage<br></div><div> RDMA/efa: Add support for dmabuf memory regions<br></div><div><br></div><div>Jason Gunthorpe (3):<br></div><div> RDMA/core: Add UVERBS_ATTR_RAW_FD<br></div><div> RDMA/mlx5: Add support for dmabuf to devx umem<br></div><div> RDMA/mlx5: Enable ATS support for MRs and umems<br></div><div><br></div><div> drivers/infiniband/core/umem_dmabuf.c | 51 +++++++++<br></div><div> drivers/infiniband/core/uverbs_ioctl.c | 8 ++<br></div><div> drivers/infiniband/hw/efa/efa.h | 4 +<br></div><div> drivers/infiniband/hw/efa/efa_main.c | 1 +<br></div><div> drivers/infiniband/hw/efa/efa_verbs.c | 127 +++++++++++++++++------<br></div><div> drivers/infiniband/hw/mlx5/devx.c | 54 +++++++---<br></div><div> drivers/infiniband/hw/mlx5/mlx5_ib.h | 36 +++++++<br></div><div> drivers/infiniband/hw/mlx5/mr.c | 5 +-<br></div><div> include/linux/dma-buf.h | 4 +-<br></div><div> include/rdma/ib_umem.h | 11 ++<br></div><div> include/rdma/uverbs_ioctl.h | 13 +++<br></div><div> include/uapi/rdma/mlx5_user_ioctl_cmds.h | 1 +<br></div><div> 12 files changed, 265 insertions(+), 50 deletions(-)<br></div><div><br></div><div>-- <br></div><div>2.25.1<br></div><div><br></div><div><br></div></blockquote><div><br></div><div><span><pre>-- <br></pre><pre>Acked-by: Philip Cox <philip.cox@canonical.com>
</pre></span></div></body></html>