From: Logan Gunthorpe Date: Thu, 3 Aug 2017 18:19:54 +0000 (-0600) Subject: NTB: switchtec_ntb: Update switchtec documentation with notes for NTB X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d0450244a4920187eebf844a1610744059b59ee6;p=linux.git NTB: switchtec_ntb: Update switchtec documentation with notes for NTB The switchtec_ntb driver has a couple requirements on the switchec's hardware configuration so we add these notes to the documentation. Signed-off-by: Logan Gunthorpe Reviewed-by: Stephen Bates Reviewed-by: Kurt Schwemmer Acked-by: Allen Hubbe Signed-off-by: Jon Mason --- diff --git a/Documentation/switchtec.txt b/Documentation/switchtec.txt index a0a9c7b3d4d54..f788264921ffa 100644 --- a/Documentation/switchtec.txt +++ b/Documentation/switchtec.txt @@ -78,3 +78,15 @@ The following IOCTLs are also supported by the device: between PCI Function Framework number (used by the event system) and Switchtec Logic Port ID and Partition number (which is more user friendly). + + +Non-Transparent Bridge (NTB) Driver +=================================== + +An NTB driver is provided for the switchtec hardware in switchtec_ntb. +Currently, it only supports switches configured with exactly 2 +partitions. It also requires the following configuration settings: + +* Both partitions must be able to access each other's GAS spaces. + Thus, the bits in the GAS Access Vector under Management Settings + must be set to support this.