epf_ntb_free_peer_mem(9)
π NAME π
okay bestie, welcome to the epf_ntb_free_peer_mem(9) page from the Kernel API Manual π. This function is literally epf_ntb_free_peer_mem β it frees memory allocated in peers outbound address space. no cap, that's the whole name vibe β¨
πΈ SYNOPSIS πΈ
void epf_ntb_free_peer_mem (struct epf_ntb_epc *ntb_epc );
π¦ ARGUMENTS π¦
ntb_epcβ EPC associated with one of theHOSTwhich holds peers outbound address regions. like, it's the EPC tied to one of theHOSTs holding peers outbound address regions, iykyk π«Ά
π DESCRIPTION π
okay so this diagram is a whole lot, but it's the official map, so we're keeping it exactly as it is. do not perceive it too hard, just let the BAR energy wash over you π
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BAR0 Doorbell 1 +-----------> MSI X ADDRESS 1 β
β BAR1 Doorbell 2 +---------+ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| BAR2 | | Doorbell 3 +-------+ |
+-----------------+ | BAR3 | | | Doorbell 4
+-----+ | +-----------------+ | BAR4 | | |
| | | +-----------------+ | BAR5 | | |
| | | +-----------------+ EP CONTROLLER 1 |
| | | +-----------------+ | | | +---->+ MSI|X
ADDRESS 4 | (A) EP CONTROLLER 2 | | | (OB
SPACE) | | | +-------> MW1 | |
| | | (B) +-----------------+ | | |
| | | | | | | PCI
Address Space (Managed by HOST2)
Free memory allocated in EP CONTROLLER 2 (OB SPACE) in the above diagram. It'll free Doorbell 1, Doorbell 2, Doorbell 3, Doorbell 4, MW1 (and MW2, MW3, MW4). that's the cleanup moment, periodt π§
π SEE ALSO π
Kernel file: ./drivers/pci/endpoint/functions/pci-epf-ntb.c β yes, the actual kernel file, go look π
also peek at these icons:
epf_ntb_link_up(9)epf_ntb_configure_mw(9)epf_ntb_teardown_mw(9)epf_ntb_configure_msi(9)epf_ntb_configure_msix(9)epf_ntb_configure_db(9)epf_ntb_teardown_db(9)epf_ntb_cmd_handler(9)epf_ntb_peer_spad_bar_clear(9)epf_ntb_peer_spad_bar_set(9)epf_ntb_config_sspad_bar_clear(9)epf_ntb_config_sspad_bar_set(9)epf_ntb_config_spad_bar_free(9)epf_ntb_config_spad_bar_alloc(9)epf_ntb_config_spad_bar_alloc_interface(9)epf_ntb_db_mw_bar_clear(9)epf_ntb_db_mw_bar_cleanup(9)epf_ntb_configure_interrupt(9)epf_ntb_alloc_peer_mem(9)epf_ntb_db_mw_bar_init(9)epf_ntb_epc_create_interface(9)epf_ntb_epc_create(9)epf_ntb_init_epc_bar_interface(9)epf_ntb_init_epc_bar(9)epf_ntb_epc_init_interface(9)epf_ntb_epc_cleanup_interface(9)epf_ntb_epc_cleanup(9)epf_ntb_epc_init(9)epf_ntb_bind(9)epf_ntb_unbind(9)epf_ntb_add_cfs(9)epf_ntb_probe(9)
mwah π this page's source/version is ./drivers/pci/endpoint/functions, and the date on it is October 2026. go be iconic β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms