STRUCT NE_PCI_DEV_CMD_REPLY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ne_pci_dev_cmd_reply(9) πŸ’…

okay so this is the Kernel API Manual page for struct ne_pci_dev_cmd_reply, and bestie, it's giving very specific PCI device reply energy. Let's get into it. 🫢


✨ NAME ✨

struct ne_pci_dev_cmd_reply β€” NE PCI device command reply. periodt. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ne_pci_dev_cmd_reply {
    s32 rc;
    u8 padding0[4];
    u64 slot_uid;
    u64 enclave_cid;
    u64 slot_count;
    u64 mem_regions;
    u64 mem_size;
    u64 nr_vcpus;
    u64 flags;
    u16 state;
    u8 padding1[6];
 };

πŸ‘‘ Members πŸ‘‘

  • rc β€” the return code of the logic that processed the request. literally the "did it work?" field. βœ…
  • padding0 β€” padding for the overall data structure. filler bytes doing their little supporting role. πŸŽ€
  • slot_uid β€” valid for all commands except SLOT_COUNT. iykyk. πŸ’…
  • enclave_cid β€” valid for the ENCLAVE_START command. slay. ✨
  • slot_count β€” valid for the SLOT_COUNT command. iconic. πŸ‘‘
  • mem_regions β€” valid for the SLOT_ALLOC and SLOT_INFO commands. two-for-one vibe. 🌸
  • mem_size β€” valid for the SLOT_INFO command. noted, bestie. πŸ¦‹
  • nr_vcpus β€” valid for the SLOT_INFO command. vcpu count core. πŸ’œ
  • flags β€” valid for the SLOT_INFO command. flags stay flagging. 🚩
  • state β€” valid for the SLOT_INFO command. main character state field. πŸ’«
  • padding1 β€” padding for the overall data structure. more structural support, no cap. 🧚

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/virt/nitro_enclaves/ne_pci_dev.h β€” start here if you're nosy, bestie. πŸ“
  • Nitro Enclaves (NE) PCI device(9) β€” the whole NE PCI device situation. πŸ”₯
  • PCI_DEVICE_ID_NE(9) β€” PCI device ID for NE. πŸ†”
  • PCI_BAR_NE(9) β€” PCI BAR for NE. 🧱
  • Device registers in the NE PCI device MMIO BAR(9) β€” registers in the NE PCI device MMIO BAR. ✨
  • NE_ENABLE(9) β€” NE enable. βœ…
  • NE_VERSION(9) β€” NE version. 🏷️
  • NE_COMMAND(9) β€” NE command. πŸ“¨
  • NE_EVTCNT(9) β€” NE event count. πŸ”’
  • NE_SEND_DATA(9) β€” NE send data. πŸ“€
  • NE_RECV_DATA(9) β€” NE receive data. πŸ“₯
  • Device MMIO buffer sizes(9) β€” MMIO buffer sizes for the device. πŸ“
  • NE_SEND_DATA_SIZE(9) β€” NE send data size. πŸ“¦
  • NE_RECV_DATA_SIZE(9) β€” NE receive data size. 🎁
  • MSI-X interrupt vectors(9) β€” MSI-X interrupt vectors. ⚑
  • NE_VEC_REPLY(9) β€” NE reply vector. πŸ’Œ
  • NE_VEC_EVENT(9) β€” NE event vector. πŸŽͺ
  • enum ne_pci_dev_cmd_type(9) β€” the command type enum. 🧬
  • Device commands - payload structure for requests and replies.(9) β€” payload structure for requests and replies. 🧳
  • struct enclave_start_req(9) β€” enclave start request struct. πŸš€
  • struct enclave_get_slot_req(9) β€” enclave get slot request struct. 🎰
  • struct enclave_stop_req(9) β€” enclave stop request struct. πŸ›‘
  • struct slot_alloc_req(9) β€” slot alloc request struct. 🧩
  • struct slot_free_req(9) β€” slot free request struct. πŸ•ŠοΈ
  • struct slot_add_mem_req(9) β€” slot add memory request struct. 🧠
  • struct slot_add_vcpu_req(9) β€” slot add vcpu request struct. 🧡
  • struct slot_count_req(9) β€” slot count request struct. πŸ”’
  • struct next_slot_req(9) β€” next slot request struct. ⏭️
  • struct slot_info_req(9) β€” slot info request struct. ℹ️
  • struct slot_add_bulk_vcpus_req(9) β€” slot add bulk vcpus request struct. 🧺
  • struct ne_pci_dev(9) β€” the NE PCI device struct. 🏠
  • ne_do_request(9) β€” the request-doing function. 🫑

okay that's the whole page, bestie β€” source is ./drivers/virt/nitro_enclaves, date is October 2026, and this is struct ne_pci_dev_cmd_reply(9) signing off. πŸ’–βœ¨

πŸ“¦ where this page comes from