nvme_mi_ctrl_id - Man Page

get the ID of a controller

Synopsis

__u16 nvme_mi_ctrl_id (nvme_mi_ctrl_t ctrl );

Arguments

ctrl

controller to query

Description

Retrieve the ID of the controller, as defined by hardware, and available in the Identify (Controller List) data. This is the value passed to nvme_mi_init_ctrl, but may have been created internally via nvme_mi_scan_ep.

Return

the (locally-stored) ID of this controller.

Info

November 2024 libnvme API manual