Lines Matching +full:transfer +full:- +full:function
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2022-2024 Chelsio Communications, Inc.
42 * an error value which is non-zero if the request did not complete
63 * Capsules are either commands (host -> controller) or responses
64 * (controller -> host). A data buffer may be associated with a
83 /* Controller-specific APIs. */
86 * A controller calls this function to check for any
87 * transport-specific errors (invalid fields) in a received command
94 * A controller calls this function to query the amount of data
100 * A controller calls this function to receive data associated with a
102 * either return in-capsule data or fetch data from the host
105 * If this function returns success, then the callback will be invoked
107 * invoked before this function returns.
114 * A controller calls this function to send data in response to a
116 * the function returns a generic status completion code to be sent in
117 * the following CQE. Note that the transfer might send a subset of
118 * the data requested by nc. If the transfer succeeds, this function
121 * - NVME_SC_SUCCESS: The transfer has completed successfully and the
124 * - NVMF_SUCCESS_SENT: The transfer has completed successfully and
129 * - NVMF_MORE: The transfer has completed successfully, but the
130 * transfer did not complete the data buffer.
132 * The mbuf chain in 'm' is consumed by this function even if an error