Searched refs:new_rx_size (Results 1 – 5 of 5) sorted by relevance
149 size_t new_rx_size = i2400mu->rx_size / 2; in i2400mu_rx_size_maybe_shrink() local150 if (avg_rx_size < new_rx_size) { in i2400mu_rx_size_maybe_shrink()151 if (new_rx_size % max_pkt_size == 0) { in i2400mu_rx_size_maybe_shrink()152 new_rx_size -= 8; in i2400mu_rx_size_maybe_shrink()156 new_rx_size, i2400mu->rx_size); in i2400mu_rx_size_maybe_shrink()161 new_rx_size, i2400mu->rx_size); in i2400mu_rx_size_maybe_shrink()162 i2400mu->rx_size = new_rx_size; in i2400mu_rx_size_maybe_shrink()
475 u32 new_tx_size, new_rx_size; in ena_set_ringparam() local481 new_rx_size = ring->rx_pending < ENA_MIN_RING_SIZE ? in ena_set_ringparam()483 new_rx_size = rounddown_pow_of_two(new_rx_size); in ena_set_ringparam()486 new_rx_size == adapter->requested_rx_ring_size) in ena_set_ringparam()489 return ena_update_queue_sizes(adapter, new_tx_size, new_rx_size); in ena_set_ringparam()
409 u32 new_rx_size);
2413 int new_rx_size) in set_io_rings_size() argument2419 adapter->rx_ring[i].ring_size = new_rx_size; in set_io_rings_size()2708 u32 new_rx_size) in ena_update_queue_sizes() argument2715 adapter->requested_rx_ring_size = new_rx_size; in ena_update_queue_sizes()
2984 u32 new_rx_size, new_tx_size; in macb_set_ringparam() local2990 new_rx_size = clamp_t(u32, ring->rx_pending, in macb_set_ringparam()2992 new_rx_size = roundup_pow_of_two(new_rx_size); in macb_set_ringparam()2999 (new_rx_size == bp->rx_ring_size)) { in macb_set_ringparam()3009 bp->rx_ring_size = new_rx_size; in macb_set_ringparam()