To compile it into your kernel,
place the following lines in your kernel configuration file:
device ntb
Or, to load it as a module at boot, place the following line in
loader.conf(5):
ntb_load="YES"
The following tunables are settable from the
loader(8):
hw.ntb.debug_level
|
Driver debug level.
The default value is 0, higher means more verbose.
|
hint.ntb_hw.X .config
|
Configures a set of NTB functions, separated by commas,
and their resource allocation.
Each function can be configured as: "[<name>][:<mw>[:<spad>[:<db>]]]", where:
name
is a name of the driver to attach (empty means any),
mw
is a number of memory windows to allocate (empty means all available),
spad
is a number of scratchpad registers to allocate (empty means all available),
db
is a number of doorbells to allocate (empty means all available).
The default configuration is empty string, which means single function
with all available resources, allowing any driver to attach.
|