STRUCT NE_PCI_DEV_CMD_REPLY(9)
π 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 exceptSLOT_COUNT. iykyk. πenclave_cidβ valid for theENCLAVE_STARTcommand. slay. β¨slot_countβ valid for theSLOT_COUNTcommand. iconic. πmem_regionsβ valid for theSLOT_ALLOCandSLOT_INFOcommands. two-for-one vibe. πΈmem_sizeβ valid for theSLOT_INFOcommand. noted, bestie. π¦nr_vcpusβ valid for theSLOT_INFOcommand. vcpu count core. πflagsβ valid for theSLOT_INFOcommand. flags stay flagging. π©stateβ valid for theSLOT_INFOcommand. 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
- 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