---
name: "nvme_mi_admin_get_log_cmd_effects"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_get_log_cmd_effects"
---

# nvme\_mi\_admin\_get\_log\_cmd\_effects(2)

Retrieve nvme command effects log

## NAME

nvme\_mi\_admin\_get\_log\_cmd\_effects - Retrieve nvme command effects log

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_cmd\_effects** **(nvme\_mi\_ctrl\_t ctrl** *,* **enum nvme\_csi csi** *,* **struct nvme\_cmd\_effects\_log \*effects\_log** *);*

## ARGUMENTS

- ctrl

  Controller to query

- csi

  Command Set Identifier

- effects\_log

  User address to store the effects log

## DESCRIPTION

This log page describes the commands that the controller supports and the effects of those commands on the state of the NVM subsystem.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
