Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c670 u32 new_tx_ring_size, new_rx_ring_size, new_rx_ring2_size; in vmxnet3_set_ringparam() local
702 new_tx_ring_size = (param->tx_pending + VMXNET3_RING_SIZE_MASK) & in vmxnet3_set_ringparam()
704 new_tx_ring_size = min_t(u32, new_tx_ring_size, in vmxnet3_set_ringparam()
706 if (new_tx_ring_size > VMXNET3_TX_RING_MAX_SIZE || (new_tx_ring_size % in vmxnet3_set_ringparam()
729 new_tx_ring_size = rounddown_pow_of_two(new_tx_ring_size); in vmxnet3_set_ringparam()
743 if (new_tx_ring_size == adapter->tx_ring_size && in vmxnet3_set_ringparam()
766 err = vmxnet3_create_queues(adapter, new_tx_ring_size, in vmxnet3_set_ringparam()
777 new_tx_ring_size = VMXNET3_DEF_TX_RING_SIZE; in vmxnet3_set_ringparam()
782 new_tx_ring_size, in vmxnet3_set_ringparam()
799 adapter->tx_ring_size = new_tx_ring_size; in vmxnet3_set_ringparam()
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c2547 int new_rx_ring_size, new_tx_ring_size; in create_queues_with_size_backoff() local
2605 new_tx_ring_size = cur_tx_ring_size; in create_queues_with_size_backoff()
2612 new_tx_ring_size = cur_tx_ring_size / 2; in create_queues_with_size_backoff()
2616 if (new_tx_ring_size < ENA_MIN_RING_SIZE || in create_queues_with_size_backoff()
2626 new_tx_ring_size, in create_queues_with_size_backoff()
2629 set_io_rings_size(adapter, new_tx_ring_size, in create_queues_with_size_backoff()