Reference

libnvme_set_privsep-libnvme3(2)

Open devices through the helper

NAME

libnvme_set_privsep - Open devices through the helper

SYNOPSIS

void libnvme_set_privsep (struct libnvme_global_ctx *ctx , struct libnvme_privsep *ps );

ARGUMENTS

ctx

struct libnvme_global_ctx object

ps

Helper channel or NULL to open devices directly

DESCRIPTION

libnvme_open on ctx returns transport handles which forward the commands to the helper. MI endpoints are not affected. Several contexts can share one helper channel. The channel must outlive the contexts and their transport handles. Commands on one channel must not be issued concurrently.