Lines Matching +full:pcie +full:- +full:host +full:- +full:1

1 .. SPDX-License-Identifier: GPL-2.0
4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide
9 This document is a guide to help users use pci-epf-ntb function driver
10 and ntb_hw_epf host driver for NTB functionality. The list of steps to
11 be followed in the host side and EP side is given below. For the hardware
13 Documentation/PCI/endpoint/pci-ntb-function.rst
19 ---------------------------
27 2900000.pcie-ep 2910000.pcie-ep
32 2900000.pcie-ep 2910000.pcie-ep
36 -------------------------
40 # ls /sys/bus/pci-epf/drivers
49 Creating pci-epf-ntb Device
50 ----------------------------
53 pci-epf-ntb device, the following commands can be used::
55 # mount -t configfs none /sys/kernel/config
59 The "mkdir func1" above creates the pci-epf-ntb function device that will
66 baseclass_code deviceid msi_interrupts pci-epf-ntb.0
72 when the device is bound to the driver. The pci-epf-ntb driver populates
81 Configuring pci-epf-ntb Device
82 -------------------------------
84 The user can configure the pci-epf-ntb device using its configfs entry. In order
91 In order to configure NTB specific attributes, a new sub-directory to func1
111 Binding pci-epf-ntb Device to EP Controller
112 --------------------------------------------
120 # ln -s controllers/2900000.pcie-ep/ functions/pci-epf-ntb/func1/primary
121 # ln -s controllers/2910000.pcie-ep/ functions/pci-epf-ntb/func1/secondary
124 establish a link with the host.
128 --------------
130 In order for the endpoint device to establish a link with the host, the _start_
131 field should be populated with '1'. For NTB, both the PCI endpoint controllers
132 should establish link with the host::
134 # echo 1 > controllers/2900000.pcie-ep/start
135 # echo 1 > controllers/2910000.pcie-ep/start
142 ------------
145 "Creating pci-epf-ntb Device" section above::
153 -----------------------
155 The host side software follows the standard NTB software architecture in Linux.
161 :doc:`Non-Transparent Bridge <../../driver-api/ntb>`