Lines Matching +full:num +full:- +full:txq
1 /* SPDX-License-Identifier: GPL-2.0-only */
181 u32 *num, u32 *size);
241 static inline void cudbg_fill_qdesc_txq(const struct sge_txq *txq, in cudbg_fill_qdesc_txq() argument
245 entry->qtype = type; in cudbg_fill_qdesc_txq()
246 entry->qid = txq->cntxt_id; in cudbg_fill_qdesc_txq()
247 entry->desc_size = sizeof(struct tx_desc); in cudbg_fill_qdesc_txq()
248 entry->num_desc = txq->size; in cudbg_fill_qdesc_txq()
249 entry->data_size = txq->size * sizeof(struct tx_desc); in cudbg_fill_qdesc_txq()
250 memcpy(entry->data, txq->desc, entry->data_size); in cudbg_fill_qdesc_txq()
257 entry->qtype = type; in cudbg_fill_qdesc_rxq()
258 entry->qid = rxq->cntxt_id; in cudbg_fill_qdesc_rxq()
259 entry->desc_size = rxq->iqe_len; in cudbg_fill_qdesc_rxq()
260 entry->num_desc = rxq->size; in cudbg_fill_qdesc_rxq()
261 entry->data_size = rxq->size * rxq->iqe_len; in cudbg_fill_qdesc_rxq()
262 memcpy(entry->data, rxq->desc, entry->data_size); in cudbg_fill_qdesc_rxq()
269 entry->qtype = type; in cudbg_fill_qdesc_flq()
270 entry->qid = flq->cntxt_id; in cudbg_fill_qdesc_flq()
271 entry->desc_size = sizeof(__be64); in cudbg_fill_qdesc_flq()
272 entry->num_desc = flq->size; in cudbg_fill_qdesc_flq()
273 entry->data_size = flq->size * sizeof(__be64); in cudbg_fill_qdesc_flq()
274 memcpy(entry->data, flq->desc, entry->data_size); in cudbg_fill_qdesc_flq()
281 ((u8 *)e + sizeof(*e) + e->data_size); in cudbg_next_qdesc()