Lines Matching defs:ring

65  * and the use of the mini RX ring is disabled. This seems to imply
68 * ring.
1279 * Intialize a standard receive ring descriptor.
1337 * Initialize a jumbo receive ring descriptor. This allocates
1484 /* Enable the jumbo receive producer ring. */
1548 /* Initialize transmit producer index for host-memory send ring. */
1556 /* NIC-memory send ring not used; initialize to zero. */
1940 * allow us to set up the TX send ring RCBs and the RX return
1941 * ring RCBs, plus other things which live in NIC memory.
2033 * - This ring is used to feed receive buffers for "standard"
2037 * - This ring is used to feed receive buffers for jumbo sized
2042 * - This ring is used to feed receive buffers for "mini"
2051 * ring. The driver is then responsible to passing the
2056 * - This ring is used for outgoing frames. Many versions of
2060 /* Initialize the standard receive producer ring control block. */
2070 * Bits 31-16: Programmable ring size (2048, 1024, 512, .., 32)
2079 * Bits 31-16: Programmable ring size (512, 256, 128, 64, 32)
2102 /* Write the standard receive producer ring control block. */
2108 /* Reset the standard receive producer ring producer index. */
2112 * Initialize the jumbo RX producer ring control
2113 * block. We set the 'ring disabled' bit in the
2115 * using this ring (i.e. once we set the MTU
2120 /* Get the jumbo receive producer ring RCB parameters. */
2140 /* Program the jumbo receive producer ring RCB parameters. */
2144 /* Reset the jumbo receive producer ring producer index. */
2148 /* Disable the mini receive producer ring RCB. */
2155 /* Reset the mini receive producer ring producer index. */
2168 * The BD ring replenish thresholds control how often the
2173 * Set the BD ring replentish thresholds. The recommended
2175 * each ring.
2198 * Disable all send rings by setting the 'ring disabled' bit
2199 * in the flags field of all the TX send ring control blocks,
2220 /* Configure send ring RCB 0 (we use only the first ring) */
2237 * 'ring diabled' bit in the flags field of all the receive
2238 * return ring control blocks, located in NIC memory.
2267 * Set up receive return ring 0. Note that the NIC address
2295 * Specify which ring to use for packets that don't match
2788 /* Destroy standard RX ring. */
2800 /* Destroy jumbo RX ring. */
2813 /* Destroy RX return ring. */
2826 /* Destroy TX ring. */
2875 bus_size_t maxsize, bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map,
2893 /* Allocate DMA'able memory for ring. */
2894 error = bus_dmamem_alloc(*tag, (void **)ring,
2901 /* Load the address of the ring. */
2903 error = bus_dmamap_load(*tag, *map, *ring, maxsize, bge_dma_map_addr,
2919 bus_dmamem_free(*tag, *ring, *map);
2924 *ring = NULL;
2956 /* Create tag for standard RX ring. */
2961 &sc->bge_ldata.bge_rx_std_ring_paddr, "RX ring");
2965 /* Create tag for RX return ring. */
2970 &sc->bge_ldata.bge_rx_return_ring_paddr, "RX return ring");
2974 /* Create tag for TX ring. */
2979 &sc->bge_ldata.bge_tx_ring_paddr, "TX ring");
2985 * Because we only use single Tx/Rx/Rx return ring, use
2988 * of configured number of ring.
3012 /* Create tag for jumbo RX ring. */
3018 &sc->bge_ldata.bge_rx_jumbo_ring_paddr, "jumbo RX ring");
3704 /* 5705 limits RX return ring to 512 entries. */
4311 * 1) the frame is from the jumbo receive ring
4312 * 2) the frame is from the standard receive ring
4514 * Go through our tx ring and free mbufs for those
4654 /* Check RX return ring producer/consumer. */
4660 /* Check TX ring producer/consumer. */
4716 /* Make sure the descriptor ring indexes are coherent. */
4733 /* Check RX return ring producer/consumer. */
4738 /* Check TX ring producer/consumer. */
5175 * Encapsulate an mbuf chain in the tx ring by coupling the mbuf data
5372 * Pack the data into the transmit ring. If we
5374 * for the NIC to drain the ring.
5455 * Init the various state machines, ring
5495 /* Init RX ring. */
5505 * entry of the ring.
5517 "5705 A0 chip failed to load RX ring\n");
5520 /* Init jumbo RX ring. */
5532 /* Init our RX return ring index. */
5538 /* Init TX ring. */