Lines Matching +full:host +full:- +full:command
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2022-2024 Chelsio Communications, Inc.
24 * Parameters shared by all queue-pairs of an association. Note that
35 uint8_t pda; /* Tx-side PDA. */
38 uint32_t maxr2t; /* Host only */
46 bool admin; /* Host only */
54 /* Transport-independent APIs. */
57 * A host should allocate a new association for each association with
60 * nvmf_update_association to update internal transport-specific
65 * command which transport queues are admin vs I/O and which
74 /* The most recent association-wide error message. */
93 * Capsules are either commands (host -> controller) or responses
94 * (controller -> host). A single data buffer segment may be
95 * associated with a command capsule. Transmitted data is not copied
117 /* Controller-specific APIs. */
121 * transport-specific errors (invalid fields) in a received command
122 * capsule. The callback returns a generic command status value:
129 * associated with a command capsule.
135 * command capsule (e.g. the data for a WRITE command). This can
136 * either return in-capsule data or fetch data from the host
137 * (e.g. using a R2T PDU over TCP). The received command capsule
145 * command along with a response capsule. If the data transfer
154 * Construct a CQE for a reply to a command capsule in 'nc' with the
162 * Construct and send a response capsule to a command capsule with
168 * Wait for a single command capsule and return it in *ncp. This can
192 * Allocate a new queue pair and wait for the CONNECT command capsule.
194 * nvmf_association_error. On success, the command capsule is saved
196 * must send an explicit response and free the the command capsule.
217 /* Generate a serial number string from a host ID. */
242 /* Return the log page id (LID) of a GET_LOG_PAGE command. */
245 /* Return the requested data length of a GET_LOG_PAGE command. */
248 /* Return the requested data offset of a GET_LOG_PAGE command. */
256 /* Host-specific APIs. */
271 * Send a command to the controller. This can fail with EBUSY if the
277 * Wait for a response to a command. If there are no outstanding
284 * Wait for a response to a specific command. The command must have been
290 /* Build a KeepAlive command. */
301 /* Construct a 16-byte HostId from kern.hostuuid. */
325 * used by a host association's admin queue pair.
340 * Handoff active host association to the kernel. This frees the
348 * Disconnect an active host association previously handed off to the
352 int nvmf_disconnect_host(const char *host);
355 * Disconnect all active host associations previously handed off to
361 * Fetch reconnect parameters from an existing kernel host to use for
368 * Handoff active host association to an existing host in the kernel.