libnvmf\_context\_apply\_params(9) libnvme API manual libnvmf\_context\_apply\_params(9)

# [NAME](#NAME)

libnvmf\_context\_apply\_params - apply a parameter set to a connect context.

# [SYNOPSIS](#SYNOPSIS)

**int libnvmf\_context\_apply\_params** **(struct libnvmf\_context \*fctx ,** **const struct libnvmf\_params \*params );**

# [ARGUMENTS](#ARGUMENTS)

[fctx](#fctx)

fabrics context to update

[params](#params)

a resolved parameter set

# [DESCRIPTION](#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](#RETURN)

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

libnvmf\_context\_apply\_params October 2026

---

Document: libnvmf_context_apply_params-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
