---
name: "nvme_init_manage_export_nvms_receive_create-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_manage_export_nvms_receive_create-libnvme3"
---

# nvme\_init\_manage\_export\_nvms\_receive\_create-libnvme3(2)

Initialize passthru command for Manage Exported NVM Subsystem Receive - Create Exported NVM Subsystem

## NAME

nvme\_init\_manage\_export\_nvms\_receive\_create - Initialize passthru command for Manage Exported NVM Subsystem Receive - Create Exported NVM Subsystem

## SYNOPSIS

**void nvme\_init\_manage\_export\_nvms\_receive\_create** **(struct libnvme\_passthru\_cmd \*cmd** *,* **bool tr** *,* **\_\_u8 ensti** *,* **bool ra** *,* **struct nvme\_exported\_nvm\_subsys\_create\_data \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- tr

  Template Required (TR)

- ensti

  Exported NVM Subsystem Template Index (ENSTI), used if *tr* is set. Indexes the Exported NVM Subsystem Template UUID List, see NVME\_IDENTIFY\_CNS\_EXPORTED\_NVM\_SUBSYS\_TEMPLATE\_UUID\_LIST.

- ra

  Restricted Access (RA): message-based transports only, ignored by memory-based transports

- data

  Create Exported NVM Subsystem data buffer, see *struct* *nvme\_exported\_nvm\_subsys\_create\_data*. The assigned Exported NVM Subsystem NQN is returned in this same buffer.

## DESCRIPTION

Initializes the passthru command buffer for the Manage Exported NVM Subsystem Receive command with SEL value NVME\_MANAGE\_EXPORT\_NVMS\_RECV\_SEL\_CREATE. The created Exported NVM Subsystem Identifier is returned in the CQE result, see *enum* *nvme\_export\_nvms\_create\_cqe\_dw0*.
