---
name: "nvme_init_identify_ports_list-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_identify_ports_list-libnvme3"
---

# nvme\_init\_identify\_ports\_list-libnvme3(2)

Initialize passthru command for Get Ports List

## NAME

nvme\_init\_identify\_ports\_list - Initialize passthru command for Get Ports List

## SYNOPSIS

**void nvme\_init\_identify\_ports\_list** **(struct libnvme\_passthru\_cmd \*cmd** *,* **struct nvme\_ports\_list \*list** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Command data structure to initialize

- list

  User space destination address to transfer the data

- len

  The allocated length of *list*

## DESCRIPTION

Initializes the passthru command buffer for the Identify command with CNS value NVME\_IDENTIFY\_CNS\_PORTS\_LIST.
