lkml.org 
[lkml]   [2018]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v4 00/14] Copy Offload in NVMe Fabrics with P2P PCI Memory
Hi Christian,

On 5/2/2018 5:51 AM, Christian König wrote:
> it would be rather nice to have if you could separate out the functions
> to detect if peer2peer is possible between two devices.

This would essentially be pci_p2pdma_distance() in the existing
patchset. It returns the sum of the distance between a list of clients
and a P2PDMA provider. It returns -1 if peer2peer is not possible
between the devices (presently this means they are not behind the same
root port).

Logan

\
 
 \ /
  Last update: 2018-05-02 17:57    [W:3.186 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site