Lines Matching refs:txq
124 #define IDPF_BASE_TX_DESC(txq, i) \
125 (&(((struct idpf_base_tx_desc *)((txq)->desc_ring))[i]))
126 #define IDPF_BASE_TX_CTX_DESC(txq, i) \
127 (&(((struct idpf_base_tx_ctx_desc *)((txq)->desc_ring))[i]))
131 #define IDPF_FLEX_TX_DESC(txq, i) \
132 (&(((union idpf_tx_flex_desc *)((txq)->desc_ring))[i]))
133 #define IDPF_FLEX_TX_CTX_DESC(txq, i) \
134 (&(((struct idpf_flex_tx_ctx_desc *)((txq)->desc_ring))[i]))
136 #define IDPF_DESC_UNUSED(txq) \
137 ((((txq)->next_to_clean > (txq)->next_to_use) ? 0 : (txq)->desc_count) + \
138 (txq)->next_to_clean - (txq)->next_to_use - 1)
140 #define IDPF_TX_BUF_RSV_UNUSED(txq) ((txq)->buf_stack.top)
141 #define IDPF_TX_BUF_RSV_LOW(txq) (IDPF_TX_BUF_RSV_UNUSED(txq) < \
142 (txq)->desc_count >> 2)
148 #define IDPF_TX_COMPLQ_PENDING(txq) \
149 (((txq)->num_completions_pending >= (txq)->complq->num_completions ? \
151 (txq)->num_completions_pending - (txq)->complq->num_completions)
156 #define IDPF_TX_ADJ_COMPL_TAG_GEN(txq) \
157 ((++(txq)->compl_tag_cur_gen) >= (txq)->compl_tag_gen_max ? \
158 0 : (txq)->compl_tag_cur_gen)
628 * @next_to_use: Next descriptor to use. Relevant in both split & single txq
1007 void idpf_tx_dma_map_error(struct idpf_queue *txq, struct sk_buff *skb,
1009 unsigned int idpf_tx_desc_count_required(struct idpf_queue *txq,