---
name: "nvme_init_lm_get_features_ctrl_data_queue-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_lm_get_features_ctrl_data_queue-libnvme3"
---

# nvme\_init\_lm\_get\_features\_ctrl\_data\_queue-libnvme3(2)

Initialize passthru command for Get Controller Data Queue feature

## NAME

nvme\_init\_lm\_get\_features\_ctrl\_data\_queue - Initialize passthru command for Get Controller Data Queue feature

## SYNOPSIS

**void nvme\_init\_lm\_get\_features\_ctrl\_data\_queue** **(struct libnvme\_passthru\_cmd \*cmd** *,* **enum nvme\_get\_features\_sel sel** *,* **\_\_u16 cdqid** *,* **struct nvme\_lm\_ctrl\_data\_queue\_fid\_data \*qfd** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- sel

  Select which type of attribute to return, see *enum nvme\_get\_features\_sel*

- cdqid

  Controller Data Queue ID (CDQID)

- qfd

  Get Controller Data Queue feature data buffer

## DESCRIPTION

Initializes the passthru command buffer for the Get Features command with FID value NVME\_FEAT\_FID\_CTRL\_DATA\_QUEUE.
