---
name: "nvme_init_manage_export_port_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_port_create-libnvme3"
---

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

Initialize passthru command for Manage Exported Port - Create

## NAME

nvme\_init\_manage\_export\_port\_create - Initialize passthru command for Manage Exported Port - Create

## SYNOPSIS

**void nvme\_init\_manage\_export\_port\_create** **(struct libnvme\_passthru\_cmd \*cmd** *,* **bool gepid** *,* **struct nvme\_exported\_port\_create\_data \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- gepid

  Generate Exported Port ID (GEPID): if set, the controller generates the Exported Port ID (returned in the CQE result, see *enum nvme\_export\_port\_create\_cqe\_dw0*); if clear, the EPID field in *data* specifies it

- data

  Create data buffer, see *struct nvme\_exported\_port\_create\_data*

## DESCRIPTION

Initializes the passthru command buffer for the Manage Exported Port command with SEL value NVME\_MANAGE\_EXPORT\_PORT\_SEL\_CREATE.
