On Mon, Aug 12, 2019 at 11:30:37AM -0600, Logan Gunthorpe wrote: > Add constant flags to indicate how two devices will be mapped or if they > are unsupported. upstream_bridge_distance() will now return the > mapping type and the distance in a passed-by-reference argument. > > This helps annotate the code better, but the main reason is so we can use > the information to store the required mapping method in an xarray. > > Link: https://lore.kernel.org/r/[email protected] > Signed-off-by: Logan Gunthorpe <[email protected]> > Signed-off-by: Bjorn Helgaas <[email protected]> > Reviewed-by: Christian König <[email protected]>
Looks good, Reviewed-by: Christoph Hellwig <[email protected]>

