Lines Matching +full:dma +full:- +full:queues

1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2010-2012 Solarflare Communications Inc.
17 * alignment of 4K. All addresses are DMA addresses to be used within
20 * The only hardware-defined channels for a VF driver to communicate
28 * The PF driver can send arbitrary events to arbitrary event queues.
51 * The address must be page-aligned. After receiving such a valid
54 * sequence of events or a DMA error, there will be no response.
70 * reinitialisation of its queues.
91 * enum vfdi_op - VFDI operation enumeration
96 * @VFDI_OP_FINI_ALL_QUEUES: Flush all queues, finalize all queues, then
100 * @VFDI_OP_SET_STATUS_PAGE: Set the DMA page(s) used for status updates
102 * @VFDI_OP_CLEAR_STATUS_PAGE: Clear the DMA page(s) used for status
120 #define VFDI_RC_ENOMEM (-12)
121 #define VFDI_RC_EINVAL (-22)
122 #define VFDI_RC_EOPNOTSUPP (-95)
123 #define VFDI_RC_ETIMEDOUT (-110)
126 * struct vfdi_req - Request from VF driver to PF driver
131 * @u.init_evq.addr: Array of length %u.init_evq.buf_count containing DMA
138 * @u.init_rxq.addr: Array of length %u.init_rxq.buf_count containing DMA
146 * @u.init_txq.addr: Array of length %u.init_txq.buf_count containing DMA
152 * This address must be page-aligned and the PF may write up to a
156 * @u.set_status_page.peer_page_addr: Array of DMA addresses of pages.
158 * additional pages in this array. The PF will then DMA up to
160 * must be page-aligned.
209 * struct vfdi_status - Status provided by PF driver to VF driver
210 * @generation_start: A generation count DMA'd to VF *before* the
212 * @generation_end: A generation count DMA'd to VF *after* the
215 * versions must either be layout-compatible or only be sent to VFs
220 * @max_tx_channels: The maximum number of transmit queues the VF can use.
221 * @rss_rxq_count: The number of receive queues present in the shared RSS