libnvmf_context_set_connection_from_tid(9)

NAME
libnvmf_context_set_connection_from_tid - Set connection and identity from a TID

SYNOPSIS
int libnvmf_context_set_connection_from_tid (struct libnvmf_context *fctx , const struct libnvmf_tid *tid );

ARGUMENTS

fctx
    Fabrics context

tid Transport ID to copy from

DESCRIPTION
Equivalent to libnvmf_context_set_connection followed by libnvmf_context_set_hostnqn, reading every field from tid.

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