Home
last modified time | relevance | path

Searched refs:RINGF_DIR (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhnae.c245 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()
Dhnae.h232 #define RINGF_DIR 0x1 /* TX or RX ring, set if TX */ macro
233 #define is_tx_ring(ring) ((ring)->flags & RINGF_DIR)