Home
last modified time | relevance | path

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

/linux-5.19.10/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.c1243 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()
Dhns_ethtool.c406 if (is_tx_ring(ring)) { /* for tx queue reset*/ in __lb_other_process()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c571 static bool is_tx_ring(struct bnxt *bp, int ring_num) in is_tx_ring() function
610 if (is_tx_ring(bp, i)) { in bnxt_get_ethtool_stats()
711 if (is_tx_ring(bp, i)) { in bnxt_get_strings()