Home
last modified time | relevance | path

Searched refs:ring1_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c3229 size_t sz, i, ring0_size, ring1_size, comp_size; in vmxnet3_adjust_rx_ring_size() local
3264 ring1_size = adapter->rx_queue[0].rx_ring[1].size; in vmxnet3_adjust_rx_ring_size()
3265 ring1_size = (ring1_size + sz - 1) / sz * sz; in vmxnet3_adjust_rx_ring_size()
3266 ring1_size = min_t(u32, ring1_size, VMXNET3_RX_RING2_MAX_SIZE / in vmxnet3_adjust_rx_ring_size()
3271 ring1_size = rounddown_pow_of_two(ring1_size); in vmxnet3_adjust_rx_ring_size()
3273 comp_size = ring0_size + ring1_size; in vmxnet3_adjust_rx_ring_size()
3279 rq->rx_ring[1].size = ring1_size; in vmxnet3_adjust_rx_ring_size()