NTB_HW_AMD(4)
β¨ NAME β¨
NTB_HW_AMD(4) is the manual page for the ntb_hw_amd driver β aka the AMD Non-Transparent Bridge driver, bestie π
. It's giving niche but iconic, no cap.
π¦ SYNOPSIS π¦
Okay so if you wanna compile this driver into your kernel, put these lines in your kernel configuration file, fr fr:
device ntb
device ntb_hw_amd
Or, if you'd rather load the driver as a module at boot, put this line in loader.conf(5) β yes, that loader.conf(5), iykyk π:
ntb_hw_amd_load="YES"
The following sysctls are supported in this driver:
dev.ntb_hw.X.infoβ reading this sysctl gives you the basic details, like the number of memory windows, scratchpads and doorbells exposed by the NTB on the local host to access the devices beyond the bridge. It also provides details about the masked doorbells, translation address and size limit of each exposed memory window, and link status information. It's basically the driver's little info dump, and honestly? Obsessed π«Ά.
π DESCRIPTION π
The ntb_hw_amd driver provides support for the Non-Transparent Bridge (NTB) hardware in the AMD EPYC processor family β¨.
The Non-Transparent Bridge doesn't look like a regular PCI bridge β it looks like a PCI endpoint device, hiding the devices behind it. Sneaky little main character energy, honestly π. The driver hides details of the hardware on the other side, but exposes memory windows, scratchpads and doorbells to access the other side via a hardware independent KPI to the ntb(4) subsystem. Slay.
The hardware provides 2 (both 64-bit) or 3 (one 32-bit and two 64-bit) memory windows to the other system's memory, up to 16 scratchpad registers and 16 doorbells to communicate with and interrupt the other system respectively π¦. The way that's a whole communication setup β periodt.
π CONFIGURATION π
The NTB configuration should be set by BIOS π. This includes enabling NTB, choosing topology (only NTB-to-Root Port mode is supported now), and the role of the host in the topology. And yes, this needs to be done on both systems β not me reminding you, but also literally me reminding you π.
The BAR size for memory windows is configured to 1 MiB by default. Cute, compact, defaults are iconic.
π SEE ALSO π
Go read those too, bestie β the lore is interconnected π.
π AUTHORS π
The ntb_hw_amd driver was developed by AMD and originally written by Rajesh Kumar <rajesh1.kumar@amd.com> π«Ά.
Reviewed by Alexander Motin <mav@FreeBSD.org>, Conrad E. Meyer <cem@FreeBSD.org> and Warner Losh <imp@FreeBSD.org> β¨. We love a reviewed-by lineup, ngl.
Okay that's the whole page β this is the Debian manual, dated August 29, 2019, and it's the NTB_HW_AMD(4) page. Bye bestie, go configure that BIOS π
π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2019 Rajesh Kumar <rajesh1.kumar@amd.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms