Lines Matching refs:rx_ring_size
228 int rx_ring_size; member
349 while (pep->rx_desc_count < pep->rx_ring_size) { in rxq_refill()
375 pep->rx_used_desc_q = (used_rx_desc + 1) % pep->rx_ring_size; in rxq_refill()
806 rx_next_curr_desc = (rx_curr_desc + 1) % pep->rx_ring_size; in rxq_process()
1014 int rx_desc_num = pep->rx_ring_size; in rxq_init()
1017 pep->rx_skb = kmalloc(sizeof(*pep->rx_skb) * pep->rx_ring_size, in rxq_init()
1025 size = pep->rx_ring_size * sizeof(struct rx_desc); in rxq_init()
1057 for (curr = 0; pep->rx_desc_count && curr < pep->rx_ring_size; curr++) { in rxq_deinit()
1524 pep->rx_ring_size = NUM_RX_DESCS; in pxa168_eth_probe()
1526 pep->rx_ring_size = pep->pd->rx_queue_size; in pxa168_eth_probe()
1535 netif_napi_add(dev, &pep->napi, pxa168_rx_poll, pep->rx_ring_size); in pxa168_eth_probe()