---
name: "nvme_init_lm_set_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_set_features_ctrl_data_queue-libnvme3"
---

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

Initialize passthru command for Set Controller Data Queue feature

## NAME

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

## SYNOPSIS

**void nvme\_init\_lm\_set\_features\_ctrl\_data\_queue** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u16 cdqid** *,* **\_\_u32 hp** *,* **\_\_u32 tpt** *,* **bool etpt** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- cdqid

  Controller Data Queue ID (CDQID)

- hp

  Head Pointer (passed in cdw12)

- tpt

  Tail Pointer Trigger (passed in cdw13)

- etpt

  Enable Tail Pointer Trigger

## DESCRIPTION

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