epf_ntb_probe(9)
π epf_ntb_probe(9) β Kernel API Manual, bestie edition π
okay so this is epf_ntb_probe from the Kernel API Manual, and honestly? she's giving "first day of school" energy β this is the function that shows up when the endpoint function bus finally meets its NTB match π
β¨ NAME β¨
epf_ntb_probe β probe the NTB function driver π«Ά
πΈ SYNOPSIS πΈ
int epf_ntb_probe (struct pci_epf *epf , const struct pci_epf_device_id
*id );
like literally that's the whole signature, no cap π
π¦ ARGUMENTS π¦
epfβ the NTB endpoint function device. yes bestie, the device, the main character of this whole operation πidβ the NTB endpoint function device ID. her little name tag π
π DESCRIPTION π
so basically: the NTB function driver gets probed whenever the endpoint function bus detects an NTB endpoint function. that's it, that's the vibe check β¨ the bus spots an NTB endpoint function, and this function gets called to probe the driver for it. iconic behaviour, ngl π
π₯ RETURN π₯
- Zero for success β slay, we ate π
- an error code if things go sideways β π not the failure case
π§ SEE ALSO π§
the kernel file where all the magic lives:
./drivers/pci/endpoint/functions/pci-epf-vntb.c
and her whole friend group, fr fr:
epf_ntb_link_up(9)epf_ntb_configure_mw(9)epf_ntb_teardown_mw(9)epf_ntb_cmd_handler(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)
okay that's the whole page, mwah π this came from ./drivers/pci/endpoint/functions and it's dated October 2026 β shoutout to epf_ntb_probe(9) herself for being the moment π go probe something, bestie π¦β¨
π¦ 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