Reference

libnvmf_context_apply_params-libnvme3(2)

apply a parameter set to a connect context.

NAME

libnvmf_context_apply_params - apply a parameter set to a connect context.

SYNOPSIS

int libnvmf_context_apply_params (struct libnvmf_context *fctx , const struct libnvmf_params *params );

ARGUMENTS

fctx

fabrics context to update

params

a resolved parameter set

DESCRIPTION

Applies every set key via its typed setter. An unset key is left untouched, and an explicit reset (empty string) is skipped, since fctx already carries the kernel default either way.

RETURN

0 on success, -EINVAL if fctx or params is NULL.