---
name: "nvme_init_send_discovery_log_page-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_send_discovery_log_page-libnvme3"
---

# nvme\_init\_send\_discovery\_log\_page-libnvme3(2)

Initialize passthru command for Send Discovery Log Page

## NAME

nvme\_init\_send\_discovery\_log\_page - Initialize passthru command for Send Discovery Log Page

## SYNOPSIS

**void nvme\_init\_send\_discovery\_log\_page** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u8 rlps** *,* **\_\_u8 sct** *,* **\_\_u8 sc** *,* **\_\_u8 tlsp** *,* **\_\_u8 tlid** *,* **\_\_u32 ndws** *,* **\_\_u64 tlpo** *,* **void \*data** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- rlps

  Requested Log Page Status (RLPS), see *enum* *nvme\_send\_discovery\_log\_page\_rlps*

- sct

  Status Code Type (SCT), used if *rlps* is NVME\_SDLP\_RLPS\_NOT\_SUCCESSFUL

- sc

  Status Code (SC), used if *rlps* is NVME\_SDLP\_RLPS\_NOT\_SUCCESSFUL

- tlsp

  Transferred Log Specific Parameter (TLSP)

- tlid

  Transferred Log Page Identifier (TLID)

- ndws

  Number of Dwords (NDWS) transferred

- tlpo

  Transferred Log Page Offset (TLPO)

- data

  Transferred log page data buffer

- len

  Length of *data*

## DESCRIPTION

Initializes the passthru command buffer for the Send Discovery Log Page command.
