Searched refs:VR_TX_RING_CNT (Results 1 – 2 of 2) sorted by relevance
639 #define VR_TX_RING_CNT 128 macro640 #define VR_TX_RING_SIZE sizeof(struct vr_desc) * VR_TX_RING_CNT669 struct vr_txdesc vr_txdesc[VR_TX_RING_CNT];
665 if_setsendqlen(ifp, VR_TX_RING_CNT - 1); in vr_attach()1020 for (i = 0; i < VR_TX_RING_CNT; i++) { in vr_dma_alloc()1093 for (i = 0; i < VR_TX_RING_CNT; i++) { in vr_dma_free()1147 for (i = 0; i < VR_TX_RING_CNT; i++) { in vr_tx_ring_init()1148 if (i == VR_TX_RING_CNT - 1) in vr_tx_ring_init()1453 for (; cons != prod; VR_INC(cons, VR_TX_RING_CNT)) { in vr_txeof()1482 VR_INC(cons, VR_TX_RING_CNT); in vr_txeof()1877 if (sc->vr_cdata.vr_tx_cnt + nsegs >= (VR_TX_RING_CNT - 1)) { in vr_encap()1915 VR_INC(prod, VR_TX_RING_CNT); in vr_encap()1920 prod = (prod + VR_TX_RING_CNT - 1) % VR_TX_RING_CNT; in vr_encap()[all …]