ne_submit_request(9)
π ne_submit_request(9) β like, the Kernel API Manual page you actually wanna read π
okay bestie, so this is ne_submit_request from the Kernel API Manual, and it's genuinely not that deep β it submits a command request to a PCI device, and what kind of request it is gets decided by the command type. that's the whole vibe. β¨
β¨ NAME β¨
ne_submit_request β submit a command request over to the PCI device, based on whatever the command type says it is. sending it off, no cap. π
πΈ SYNOPSIS πΈ
void ne_submit_request (struct pci_dev *pdev , enum ne_pci_dev_cmd_type
cmd_type , void *cmd_request , size_t cmd_request_size );
she returns void, she takes four things, she's an icon. periodt. π
π¦ ARGUMENTS π¦
pdevβ the PCI device you're sending the command to. like, the actual destination of the whole operation. π¬cmd_typeβ the command type of the request being sent to the PCI device. it's giving "what are we even doing here" energy, and it's anenum ne_pci_dev_cmd_type. π·οΈcmd_requestβ the command request payload. the actual contents, the main character of the packet. πcmd_request_sizeβ the size of the command request payload. asize_t, bestie, because we measure things properly in this house. π
π CONTEXT π
process context, okay? and listen β this function is called with the ne_pci_dev mutex held. so whoever's calling, they already grabbed that lock. not your job, don't touch it, iykyk. π
fr fr, respect the mutex situation or things get weird.
β SEE ALSO β
- The kernel file
./drivers/virt/nitro_enclaves/ne_pci_dev.cβ that's the Nitro Enclaves (NE) PCI device driver, and yeah it's a whole.9page too. π NE_DEFAULT_TIMEOUT_MSECS(9)ne_retrieve_reply(9)ne_wait_for_reply(9)ne_reply_handler(9)ne_event_work_handler(9)ne_event_handler(9)ne_setup_msix(9)ne_teardown_msix(9)ne_pci_dev_enable(9)ne_pci_dev_disable(9)ne_pci_probe(9)ne_pci_remove(9)ne_pci_shutdown(9)
that's the whole friend group, go say hi. π«ΆπΈ
mwah π β this lil masterpiece lives in ./drivers/virt/nitro_enclaves, it's dated October 2026, and it's page ne_submit_request(9) forever and always. slay. π§ββοΈπ
π¦ 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