Lines Matching refs:rx_ring_size

272 	unsigned int		rx_ring_size;	/* current rx ring size */  member
562 overlap = min(entries, lp->rx_ring_size); in pcnet32_realloc_rx_ring()
595 for (; new < lp->rx_ring_size; new++) { in pcnet32_realloc_rx_ring()
609 sizeof(struct pcnet32_rx_head) * lp->rx_ring_size, in pcnet32_realloc_rx_ring()
612 lp->rx_ring_size = entries; in pcnet32_realloc_rx_ring()
613 lp->rx_mod_mask = lp->rx_ring_size - 1; in pcnet32_realloc_rx_ring()
622 while (--new >= lp->rx_ring_size) { in pcnet32_realloc_rx_ring()
647 for (i = 0; i < lp->rx_ring_size; i++) { in pcnet32_purge_rx_ring()
872 ering->rx_pending = lp->rx_ring_size; in pcnet32_get_ringparam()
912 if ((1 << i) != lp->rx_ring_size) in pcnet32_set_ringparam()
915 lp->napi.weight = lp->rx_ring_size / 2; in pcnet32_set_ringparam()
925 lp->rx_ring_size, lp->tx_ring_size); in pcnet32_set_ringparam()
991 numbuffs = min(numbuffs, (int)min(lp->rx_ring_size, lp->tx_ring_size)); in pcnet32_loopback_test()
1857 lp->rx_ring_size = RX_RING_SIZE; /* default rx ring size */ in pcnet32_probe1()
1859 lp->rx_mod_mask = lp->rx_ring_size - 1; in pcnet32_probe1()
1882 lp->napi.weight = lp->rx_ring_size / 2; in pcnet32_probe1()
1885 lp->rx_ring_size / 2); in pcnet32_probe1()
2027 sizeof(struct pcnet32_rx_head) * lp->rx_ring_size, in pcnet32_alloc_ring()
2039 lp->rx_dma_addr = kcalloc(lp->rx_ring_size, sizeof(dma_addr_t), in pcnet32_alloc_ring()
2049 lp->rx_skbuff = kcalloc(lp->rx_ring_size, sizeof(struct sk_buff *), in pcnet32_alloc_ring()
2082 sizeof(struct pcnet32_rx_head) * lp->rx_ring_size, in pcnet32_free_ring()
2366 for (i = 0; i < lp->rx_ring_size; i++) { in pcnet32_init_ring()
2468 for (i = 0; i < lp->rx_ring_size; i++) in pcnet32_tx_timeout()