---
name: "libnvmf_context_apply_params-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvmf_context_apply_params-libnvme3"
---

# 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.
