ne_submit_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum 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. a size_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 ⭐

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