1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_virtual_mgmt_args - Arguments for the NVMe Virtualization
7 resource management command
8
10 struct nvme_virtual_mgmt_args {
11 __u32 *result;
12 int args_size;
13 int fd;
14 __u32 timeout;
15 enum nvme_virt_mgmt_act act;
16 enum nvme_virt_mgmt_rt rt;
17 __u16 cntlid;
18 __u16 nr;
19 };
20
21
23 result If successful, the CQE dword0
24
25 args_size Size of struct nvme_virtual_mgmt_args
26
27 fd File descriptor of nvme device
28
29 timeout Timeout in ms
30
31 act Virtual resource action, see enum nvme_virt_mgmt_act
32
33 rt Resource type to modify, see enum nvme_virt_mgmt_rt
34
35 cntlid Controller id for which resources are bing modified
36
37 nr Number of resources being allocated or assigned
38
39
40
41April 2022 struct nvme_virtual_mgmt_args libnvme(9)