Re: [PATCH v6 18/18] RDMA/mlx5: Ask P2PDMA whether ATS takes a direct peer-to-peer route
From: Jason Gunthorpe
Date: Thu Sep 17 2026 - 11:14:58 EST
On Thu, Sep 17, 2026 at 04:00:33PM +0200, Christian König wrote:
> > However, at least for the Intel GPUs, ATS enablement is based on the
> > PCIe-side enable bit.
>
> Yeah, I can confirm as well that this is something really exotic.
In most datacenter systems it is only the NIC that initiates the P2P
transfers, so it should not be surprising that NIC HW has more
optimizations for this. In real systems ATS carries such a perf cost
that you do need to be selective about it. I would expect every
serious NIC to have this capability or it will not be perf
competitive.
NIC and GPU are using ATS for completely different reasons.
> Additional to that the setup that ACS seems to be disabled for some
> bridges bit not all also sounds extremely uncommon.
I'm not sure where you saw ACS disabled, you can look rdma-core now
has a tool to help people get their RDMA NICs working in GPU systems:
https://github.com/linux-rdma/rdma-core/blob/master/kernel-boot/rdma_topo
I would view most of that stuff as completely normal at this point,
people have been doing versions of this by hand for almost 10 years
now. Especially the asymmetric translated/untranslated routing.
Jason