Home
last modified time | relevance | path

Searched refs:is_tx_ring (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhnae.h233 #define is_tx_ring(ring) ((ring)->flags & RINGF_DIR) macro
234 #define is_rx_ring(ring) (!is_tx_ring(ring))
235 #define ring_to_dma_dir(ring) (is_tx_ring(ring) ? \
Dhns_ae_adapt.c393 if (is_tx_ring(ring)) in hns_ae_toggle_ring_irq()
405 if (is_tx_ring(ring)) in hns_aev2_toggle_ring_irq()
Dhns_enet.c1266 if (is_tx_ring(ring)) in hns_nic_init_affinity_mask()
1271 if (is_tx_ring(ring)) in hns_nic_init_affinity_mask()
1315 (is_tx_ring(rd->ring) ? "tx" : "rx"), rd->queue_index); in hns_nic_init_irq()
Dhns_ethtool.c406 if (is_tx_ring(ring)) { /* for tx queue reset*/ in __lb_other_process()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c581 static bool is_tx_ring(struct bnxt *bp, int ring_num) in is_tx_ring() function
619 if (is_tx_ring(bp, i)) { in bnxt_get_ethtool_stats()
722 if (is_tx_ring(bp, i)) { in bnxt_get_strings()