On 2026-09-14 05:22, Leon Romanovsky wrote: > From: Leon Romanovsky <[email protected]> > > calc_map_type_and_dist() returns one mapping type per provider and client, > valid only for strictly ordered Requests carrying an Untranslated address. > Clients that use Relaxed Ordering or ATS cannot ask what the fabric would > do with their traffic. > > Add enum pci_p2pdma_tlp_flags to name a class and pci_p2pdma_map_type_tlp() > to ask about one. The topology walk and the ACS Control reads do not depend > on the class, so decide all of them from the one walk and cache them > together, four bits each. Every class still answers alike; the controls > that tell them apart come next. > > Signed-off-by: Leon Romanovsky <[email protected]> I'm not sure I fully understand all of this big patch, but I tried and couldn't find any obvious issues. For what it is worth: Reviewed-by: Logan Gunthorpe <[email protected]>
- [PATCH v6 00/18] PCI/P2PDMA: Route peer-to-peer DMA by TLP... Leon Romanovsky
- [PATCH v6 03/18] PCI/P2PDMA: Derive routing from dire... Leon Romanovsky
- Re: [PATCH v6 03/18] PCI/P2PDMA: Derive routing f... Logan Gunthorpe
- [PATCH v6 08/18] PCI/P2PDMA: Answer routing per TLP c... Leon Romanovsky
- Re: [PATCH v6 08/18] PCI/P2PDMA: Answer routing p... Logan Gunthorpe
- [PATCH v6 02/18] PCI/P2PDMA: Document the TLP attribu... Leon Romanovsky
- [PATCH v6 09/18] PCI/P2PDMA: Route Relaxed Ordering C... Leon Romanovsky
- Re: [PATCH v6 09/18] PCI/P2PDMA: Route Relaxed Or... Logan Gunthorpe
- [PATCH v6 12/18] PCI/P2PDMA: Log detailed ACS routing... Leon Romanovsky
- [PATCH v6 05/18] PCI/P2PDMA: Evaluate ACS controls at... Leon Romanovsky
- Re: [PATCH v6 05/18] PCI/P2PDMA: Evaluate ACS con... Logan Gunthorpe
- [PATCH v6 11/18] PCI/P2PDMA: Route Translated Request... Leon Romanovsky
- [PATCH v6 14/18] PCI/P2PDMA: Test the ACS P2P routing... Leon Romanovsky
- [PATCH v6 01/18] PCI/P2PDMA: Document pdev->p2pdma... Leon Romanovsky
- Re: [PATCH v6 01/18] PCI/P2PDMA: Document pdev-&g... Logan Gunthorpe
