Reference

nvme_init_lm_cdq_create-libnvme3(2)

Initialize passthru command for Controller Data Queue create - Controller Data Queue command

NAME

nvme_init_lm_cdq_create - Initialize passthru command for Controller Data Queue create - Controller Data Queue command

SYNOPSIS

void nvme_init_lm_cdq_create (struct libnvme_passthru_cmd *cmd , __u16 mos , __u16 cntlid , __u32 cdqsize , void *data );

ARGUMENTS

cmd

Passthru command to use

mos

Management Operation Specific (MOS): This field is specific to the SEL type

cntlid

Controller ID: For Create CDQ, specifies the target migratable controller

cdqsize

For Create CDQ, specifies the size of CDQ, in dwords - 4 byte

data

Pointer to data buffer

DESCRIPTION

Initializes the passthru command buffer for the Controller Data Queue command. Note: The result CDQID is returned in the CQE dword0, which the submission function must handle.