Searched refs:rxdr (Results 1 – 2 of 2) sorted by relevance
628 struct e1000_rx_ring *rxdr = adapter->rx_ring; in e1000_get_ringparam() local636 ring->rx_pending = rxdr->count; in e1000_get_ringparam()649 struct e1000_rx_ring *rxdr, *rx_old; in e1000_set_ringparam() local672 rxdr = kzalloc(rx_ring_size, GFP_KERNEL); in e1000_set_ringparam()673 if (!rxdr) in e1000_set_ringparam()677 adapter->rx_ring = rxdr; in e1000_set_ringparam()679 rxdr->count = max(ring->rx_pending,(uint32_t)E1000_MIN_RXD); in e1000_set_ringparam()680 rxdr->count = min(rxdr->count,(uint32_t)(mac_type < e1000_82544 ? in e1000_set_ringparam()682 E1000_ROUNDUP(rxdr->count, REQ_RX_DESCRIPTOR_MULTIPLE); in e1000_set_ringparam()692 rxdr[i].count = rxdr->count; in e1000_set_ringparam()[all …]
140 struct e1000_rx_ring *rxdr);1762 struct e1000_rx_ring *rxdr) argument1767 size = sizeof(struct e1000_buffer) * rxdr->count;1768 rxdr->buffer_info = vmalloc(size);1769 if (!rxdr->buffer_info) {1774 memset(rxdr->buffer_info, 0, size);1776 size = sizeof(struct e1000_ps_page) * rxdr->count;1777 rxdr->ps_page = kmalloc(size, GFP_KERNEL);1778 if (!rxdr->ps_page) {1779 vfree(rxdr->buffer_info);[all …]