Searched refs:is_tx_ring (Results 1 – 4 of 4) sorted by relevance
233 #define is_tx_ring(ring) ((ring)->flags & RINGF_DIR) macro234 #define is_rx_ring(ring) (!is_tx_ring(ring))235 #define ring_to_dma_dir(ring) (is_tx_ring(ring) ? \
396 if (is_tx_ring(ring)) in hns_ae_toggle_ring_irq()408 if (is_tx_ring(ring)) in hns_aev2_toggle_ring_irq()
1243 if (is_tx_ring(ring)) in hns_nic_init_affinity_mask()1248 if (is_tx_ring(ring)) in hns_nic_init_affinity_mask()1292 (is_tx_ring(rd->ring) ? "tx" : "rx"), rd->queue_index); in hns_nic_init_irq()
407 if (is_tx_ring(ring)) { /* for tx queue reset*/ in __lb_other_process()