![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSISTo compile this driver into your kernel, place the following lines in your kernel configuration file: device ntb
device ntb_hw_plx Or, to load the driver as a module at boot, place the following line in loader.conf(5): ntb_hw_plx_load="YES" The following tunables are settable from the loader(8):
DESCRIPTIONThe Each PLX NTB provides up to 2 64-bit or 4 32-bit memory windows to the other system's memory, 6 or 12 scratchpad registers and 16 doorbells to interrupt the other system. If Address Lookup Table (A-LUT) is enabled, BAR2 can be split into several (up to 128) memory windows. In NTB-to-NTB mode one of memory windows (or half of it, if bigger then 1MB) is consumed by the driver itself to access scratchpad and doorbell registers of the other side. HARDWAREThe following PLX/Avago/Broadcom chips are supported by the
, but it may also work with other compatible ones. CONFIGURATIONThe basic chip configuration should be done by serial EEPROM or via i2c. It includes enabling NTB on one or both sides (choosing between NTB-to-NTB (back-to-back) and NTB-to-Root Port modes) and configuring BARs sizes. The recommended mode is NTB-to-NTB mode, since while NTB-to-Root Port is generally supported by the driver, it require PCI hotplug handling on the Root Port, that may be difficult or cause different kinds of problems. SEE ALSOAUTHORSThe BUGSThere is no way to protect your system from malicious behavior on the other system once the link is brought up. Anyone with root or kernel access on the other system can read or write to any location on your system. In other words, only connect two systems that completely trust each other.
|