Searched refs:RINGF_DIR (Results 1 – 2 of 2) sorted by relevance
245 ret = hnae_init_ring(q, &q->tx_ring, q->tx_ring.flags | RINGF_DIR); in hnae_init_queue()249 ret = hnae_init_ring(q, &q->rx_ring, q->rx_ring.flags & ~RINGF_DIR); in hnae_init_queue()
232 #define RINGF_DIR 0x1 /* TX or RX ring, set if TX */ macro233 #define is_tx_ring(ring) ((ring)->flags & RINGF_DIR)