Main index | Section 4 | Options |
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):
hint.ntb_hw.X .b2b | Being set to 1 (default) tells the driver attached to Virtual Interface of the NTB that it works in NTB-to-NTB (back-to-back) mode, 0 -- NTB-to-Root Port. Driver attached to Link Interface (visible from Root Port side) switches to NTB-to-Root Port mode automatically, but one attached to Virtual Interface can't detect what is on the other side and require external knowledge. |
hint.ntb_hw.X .split | Being set above zero splits BAR2 into 2^x memory windows using Address Lookup Table (A-LUT). |
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.
, but it may also work with other compatible ones.
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.
NTB_HW_PLX (4) | November 9, 2019 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The number of UNIX installations has grown to 10, with more expected. | ” |
— UNIX Programming Manual, 1972 |