nvme_host_set_pdc_enabled(2)

Set Persistent Discovery Controller flag

Section 2 libnvme-dev bookworm source

Description

nvme_host_set_pdc_enabled

NAME

nvme_host_set_pdc_enabled - Set Persistent Discovery Controller flag

SYNOPSIS

void nvme_host_set_pdc_enabled (nvme_host_t h , bool enabled );

ARGUMENTS

h

Host for which the falg should be set

enabled

The bool to set the enabled flag

DESCRIPTION

When nvme_host_set_pdc_enabled is not used to set the PDC flag, nvme_host_is_pdc_enabled will return the default value which was passed into the function and not the undefined flag value.