On 2026-09-20 05:41, 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. > > Tested-by: Tushar Dave <[email protected]> > Signed-off-by: Leon Romanovsky <[email protected]> Ok, this makes more sense to me after a fresh review: Reviewed-by: Logan Gunthorpe <[email protected]>
- [PATCH v7 00/19] PCI/P2PDMA: Route peer-to-peer DMA by TLP... Leon Romanovsky
- [PATCH v7 03/19] PCI: Reject unreadable ACS controls ... Leon Romanovsky
- [PATCH v7 02/19] PCI/P2PDMA: Derive routing from dire... Leon Romanovsky
- Re: [PATCH v7 02/19] PCI/P2PDMA: Derive routing f... Logan Gunthorpe
- [PATCH v7 04/19] PCI/P2PDMA: Evaluate ACS controls at... Leon Romanovsky
- [PATCH v7 06/19] PCI/P2PDMA: Collect the path's ACS c... Leon Romanovsky
- [PATCH v7 08/19] PCI/P2PDMA: Route Relaxed Ordering C... Leon Romanovsky
- [PATCH v7 07/19] PCI/P2PDMA: Answer routing per TLP c... Leon Romanovsky
- Re: [PATCH v7 07/19] PCI/P2PDMA: Answer routing p... Logan Gunthorpe
- [PATCH v7 12/19] PCI/P2PDMA: Add KUnit tests for the ... Leon Romanovsky
- [PATCH v7 10/19] PCI/P2PDMA: Route Translated Request... Leon Romanovsky
- Re: [PATCH v7 10/19] PCI/P2PDMA: Route Translated... Logan Gunthorpe
- [PATCH v7 11/19] PCI/P2PDMA: Log detailed ACS routing... Leon Romanovsky
- Re: [PATCH v7 11/19] PCI/P2PDMA: Log detailed ACS... Logan Gunthorpe
- [PATCH v7 13/19] PCI/P2PDMA: Test the ACS P2P routing... Leon Romanovsky
- [PATCH v7 14/19] PCI: Add KUnit coverage for ACS isol... Leon Romanovsky
- [PATCH v7 18/19] RDMA/uverbs: Hand out the P2PDMA pro... Leon Romanovsky
- [PATCH v7 05/19] PCI/P2PDMA: Document directional ACS... Leon Romanovsky
- [PATCH v7 09/19] PCI/P2PDMA: Reject Translated Reques... Leon Romanovsky
