---
name: "libnvme_mi_mi_read_mi_data_subsys-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/libnvme_mi_mi_read_mi_data_subsys-libnvme3"
---

# libnvme\_mi\_mi\_read\_mi\_data\_subsys-libnvme3(2)

Perform a Read MI Data Structure command, retrieving subsystem data.

## NAME

libnvme\_mi\_mi\_read\_mi\_data\_subsys - Perform a Read MI Data Structure command, retrieving subsystem data.

## SYNOPSIS

**int libnvme\_mi\_mi\_read\_mi\_data\_subsys** **(struct libnvme\_mi\_ep \*ep** *,* **struct nvme\_mi\_read\_nvm\_ss\_info \*s** *);*

## ARGUMENTS

- ep

  endpoint for MI communication

- s

  subsystem information to populate

## DESCRIPTION

Retrieves the Subsystem information - number of external ports and NVMe version information. See *struct nvme\_mi\_read\_nvm\_ss\_info*.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or negative error code otherwise.
