epf_ntb_free_peer_mem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 the HOST which holds peers outbound address regions. like, it's the EPC tied to one of the HOSTs 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:


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