ntb_msi_peer_trigger(9)
π« ntb_msi_peer_trigger β like, the Kernel API Manual page, bestie β¨
okay so bestie, we're in the Kernel API Manual today and this one is genuinely such a slay little function. it's giving "reach out and poke your friend" energy and honestly? iconic. let's get into it π«Ά
πΈ NAME πΈ
ntb_msi_peer_trigger β trigger an interrupt handler on a peer π
π¦ SYNOPSIS π¦
int ntb_msi_peer_trigger (struct ntb_dev *ntb , int peer , struct
ntb_msi_desc *desc );
like yes, that's the whole signature, no cap β¨
π ARGUMENTS π
ntbβ the NTB device context π§ (the whole vibe of a device we're working with)peerβ the peer index, aka which friend we're poking πdescβ the MSI descriptor data which triggers the interrupt β this is the actual thing that makes the interrupt happen
π₯ DESCRIPTION π₯
so this function triggers an interrupt on a peer. literally that's the whole job and it ate π
the one thing to know β the important part, don't skip it β is that it requires the descriptor structure to have been passed from that peer by some other means. so like, desc has to get to you through some other channel first; this function isn't out here manifesting descriptors out of thin air, periodt. you gotta have the goods before you can use them, iykyk π
π RETURN π
- Zero on success π
- otherwise, a negative error number π (main character energy only when it works, bestie)
π SEE ALSO π
- Kernel file
./drivers/ntb/msi.cπ ntb_msi_init(9)ntb_msi_setup_mws(9)ntb_msi_clear_mws(9)ntbm_msi_request_threaded_irq(9)
go read those too, they're all part of the same friend group fr fr π
and that's the whole page, bestie!! this one lives over in ./drivers/ntb and it's dated October 2026 π
β so like, future vibes, we love to see it. mwah, go trigger some interrupts responsibly π
πβ¨
π¦ 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