Home
last modified time | relevance | path

Searched refs:NEXT_RX (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/sun/
Dsunbmac.h254 #define NEXT_RX(num) (((num) + 1) & (RX_RING_SIZE - 1)) macro
Dsunqe.h294 #define NEXT_RX(num) (((num) + 1) & (RX_RING_MAXSIZE - 1)) macro
Dsunhme.h360 #define NEXT_RX(num) (((num) + 1) & (RX_RING_SIZE - 1)) macro
Dsungem.h931 #define NEXT_RX(N) (((N) + 1) & (RX_RING_SIZE - 1)) macro
Dsungem.c722 curr = NEXT_RX(curr); in gem_post_rxds()
729 cluster_start = NEXT_RX(cluster_start); in gem_post_rxds()
871 entry = NEXT_RX(entry); in gem_rx()
Dsunqe.c456 elem = NEXT_RX(elem); in qe_rx()
Dsunbmac.c880 elem = NEXT_RX(elem); in bigmac_rx()
Dsunhme.c2089 elem = NEXT_RX(elem); in happy_meal_rx()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c174 NEXT_RX(rxr->rx_prod)); in bnxt_rx_xdp()
Dbnxt.h634 #define NEXT_RX(idx) (((idx) + 1) & bp->rx_ring_mask) macro
Dbnxt.c1277 rxr->rx_prod = NEXT_RX(prod); in bnxt_tpa_start()
1278 cons = NEXT_RX(cons); in bnxt_tpa_start()
1279 rxr->rx_next_cons = NEXT_RX(cons); in bnxt_tpa_start()
1283 rxr->rx_prod = NEXT_RX(rxr->rx_prod); in bnxt_tpa_start()
1861 rxr->rx_prod = NEXT_RX(prod); in bnxt_rx_pkt()
1862 rxr->rx_next_cons = NEXT_RX(cons); in bnxt_rx_pkt()
3189 prod = NEXT_RX(prod); in bnxt_init_one_rx_ring()
/Linux-v5.4/drivers/net/ethernet/seeq/
Dsgiseeq.c48 #define NEXT_RX(i) (((i) + 1) & (SEEQ_RX_BUFFERS - 1)) macro
401 sp->rx_new = NEXT_RX(sp->rx_new); in sgiseeq_rx()
/Linux-v5.4/drivers/net/ethernet/aeroflex/
Dgreth.c88 #define NEXT_RX(N) (((N) + 1) & GRETH_RXBD_NUM_MASK) macro
829 greth->rx_cur = NEXT_RX(greth->rx_cur); in greth_rx()
962 greth->rx_cur = NEXT_RX(greth->rx_cur); in greth_rx_gbit()
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Dde2104x.c100 #define NEXT_RX(N) (((N) + 1) & (DE_RX_RING_SIZE - 1)) macro
486 rx_tail = NEXT_RX(rx_tail); in de_rx()
/Linux-v5.4/drivers/net/ethernet/realtek/
D8139cp.c114 #define NEXT_RX(N) (((N) + 1) & (CP_RX_RING_SIZE - 1)) macro
549 rx_tail = NEXT_RX(rx_tail); in cp_rx_poll()