diff options
author | Logan Gunthorpe <[email protected]> | 2019-08-12 11:30:37 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-08-16 08:40:23 -0500 |
commit | 72583084e3fe333c27bc37527efe455d27eaf0b1 (patch) | |
tree | b0689f20f0a5708327628fad0cb788c51389f82c /net/unix/af_unix.c | |
parent | 0afea3814358c97e2964710ba16fbb0b54ceda0e (diff) |
PCI/P2PDMA: Add constants for map type results to upstream_bridge_distance()
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]
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]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions