epf_ntb_cmd_handler(9)
π epf_ntb_cmd_handler β kernel API manual, bestie edition π
okay so like, this is epf_ntb_cmd_handler, and it lives in section 9 of the Kernel API Manual β that's the kernel-functions girlies β¨
πΈ NAME πΈ
epf_ntb_cmd_handler β the one that handles commands provided by the NTB HOST π«Ά
β¨ SYNOPSIS β¨
void epf_ntb_cmd_handler (struct work_struct *work );
π ARGUMENTS π
workβ thework_structfor theepf_ntb_epc, periodt π
π¦ DESCRIPTION π¦
so this is a workqueue function, right? it gets invoked for the two epf_ntb_epc periodically β literally once every 5ms β just to check if it has received any commands from the NTB HOST π like a little vibe check every 5 milliseconds, no cap.
and what can the HOST send? glad you asked bestie π it can send commands to:
- configure doorbell π
- configure memory window πͺ
- update link status π
that's the whole menu fr fr. iconic behaviour tbh π
ngl, this one is short but she is essential β the epc would be absolutely clueless without her checking in every 5ms π
π SEE ALSO π
the kernel file for this one lives at ./drivers/pci/endpoint/functions/pci-epf-vntb.c β go read her, she's the main character π
and the whole friend group π«Ά:
epf_ntb_link_up(9)epf_ntb_configure_mw(9)epf_ntb_teardown_mw(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_configure_interrupt(9)epf_ntb_db_bar_init(9)epf_ntb_db_bar_clear(9)epf_ntb_mw_bar_init(9)epf_ntb_mw_bar_clear(9)epf_ntb_is_bar_used(9)epf_ntb_find_bar(9)epf_ntb_init_epc_bar(9)epf_ntb_epc_init(9)epf_ntb_epc_cleanup(9)epf_ntb_add_cfs(9)epf_ntb_bind(9)epf_ntb_unbind(9)epf_ntb_probe(9)
and that's the whole page, bestie, you ate that πβ¨ this one comes from ./drivers/pci/endpoint/functions and it's dated October 2026 β so like, futuristic queen energy ππ mwah, see you in the next manpage π§ββοΈπ
π¦ 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