epf_ntb_epc...up_interface(9)
π epf_ntb_epc_cleanup_interface β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual, we're talking about epf_ntb_epc_cleanup_interface(9) today and honestly? she's a little cleanup queen and we stan. β¨
πΈ NAME πΈ
epf_ntb_epc_cleanup_interface β literally just Cleanup NTB interface. that's the whole vibe. no cap. π§Ήπ
π¦ SYNOPSIS π¦
void epf_ntb_epc_cleanup_interface (struct epf_ntb *ntb , enum
pci_epc_interface_type type );
like, she returns void (no tea, no shade, no return value) and she takes exactly two things. that's it. π«Ά
π ARGUMENTS π
ntbβ the NTB device that facilitates communication between HOST1</> and HOST2</>. she's the middleman, the connector, the group-chat admin keeping both hosts talking. π¬πtypeβ either the PRIMARY</> interface or the SECONDARY</> interface. pick your fighter, bestie, but only one of these two. π
β DESCRIPTION β
so here's the tea: this function is a wrapper to cleanup a particular NTB interface. that's the whole job. she wraps, she cleans up, she leaves. iconic behaviour honestly, lowkey the most relatable function in the file. π β¨
no extra steps, no secret side quests β wrapper, particular NTB interface, cleanup. periodt. π§
π₯ SEE ALSO π₯
first up, the kernel file herself:
- Kernel file
./drivers/pci/endpoint/functions/pci-epf-ntb.c
and now the whole friend group β every single one, because nobody gets left out of the mentions, iykyk:
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_free_peer_mem(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(9), epf_ntb_epc_init(9), epf_ntb_bind(9), epf_ntb_unbind(9), epf_ntb_add_cfs(9), epf_ntb_probe(9)
bestie do NOT skip the SEE ALSO list, it's giving syllabus week and everyone's invited. ππ
and that's the whole page!! π mwah. this one came from the ./drivers/pci/endpoint/functions directory, dated October 2026, straight out of the Kernel API Manual β go off, October 2026, we love a timestamped queen. π¦ππ
π¦ 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