Lines Matching defs:RX_RING_SIZE
31 #define RX_RING_SIZE 32
594 struct sk_buff* rx_skbuff[RX_RING_SIZE];
1208 vp->rx_ring = pci_alloc_consistent(pdev, sizeof(struct boom_rx_desc) * RX_RING_SIZE
1215 vp->tx_ring = (struct boom_tx_desc *)(vp->rx_ring + RX_RING_SIZE);
1216 vp->tx_ring_dma = vp->rx_ring_dma + sizeof(struct boom_rx_desc) * RX_RING_SIZE;
1474 sizeof(struct boom_rx_desc) * RX_RING_SIZE
1691 for (i = 0; i < RX_RING_SIZE; i++) /* AKPM: this is done in vortex_open, too */
1743 for (i = 0; i < RX_RING_SIZE; i++) {
1758 if (i != RX_RING_SIZE) {
2525 int entry = vp->cur_rx % RX_RING_SIZE;
2528 int rx_work_limit = vp->dirty_rx + RX_RING_SIZE - vp->cur_rx;
2588 entry = (++vp->cur_rx) % RX_RING_SIZE;
2593 entry = vp->dirty_rx % RX_RING_SIZE;
2602 if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE)
2627 if ((vp->cur_rx - vp->dirty_rx) == RX_RING_SIZE) /* This test is redundant, but makes me feel good */
2631 ((vp->cur_rx - vp->dirty_rx) != RX_RING_SIZE) ? "succeeded" : "retrying");
2705 for (i = 0; i < RX_RING_SIZE; i++)
3229 sizeof(struct boom_rx_desc) * RX_RING_SIZE