Searched refs:new_tx_ring_size (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 693 u32 new_tx_ring_size, new_rx_ring_size, new_rx_ring2_size; in vmxnet3_set_ringparam() local 725 new_tx_ring_size = (param->tx_pending + VMXNET3_RING_SIZE_MASK) & in vmxnet3_set_ringparam() 727 new_tx_ring_size = min_t(u32, new_tx_ring_size, in vmxnet3_set_ringparam() 729 if (new_tx_ring_size > VMXNET3_TX_RING_MAX_SIZE || (new_tx_ring_size % in vmxnet3_set_ringparam() 752 new_tx_ring_size = rounddown_pow_of_two(new_tx_ring_size); in vmxnet3_set_ringparam() 766 if (new_tx_ring_size == adapter->tx_ring_size && in vmxnet3_set_ringparam() 789 err = vmxnet3_create_queues(adapter, new_tx_ring_size, in vmxnet3_set_ringparam() 800 new_tx_ring_size = VMXNET3_DEF_TX_RING_SIZE; in vmxnet3_set_ringparam() 805 new_tx_ring_size, in vmxnet3_set_ringparam() 822 adapter->tx_ring_size = new_tx_ring_size; in vmxnet3_set_ringparam()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 2020 int new_rx_ring_size, new_tx_ring_size; in create_queues_with_size_backoff() local 2078 new_tx_ring_size = cur_tx_ring_size; in create_queues_with_size_backoff() 2085 new_tx_ring_size = cur_tx_ring_size / 2; in create_queues_with_size_backoff() 2089 if (new_tx_ring_size < ENA_MIN_RING_SIZE || in create_queues_with_size_backoff() 2099 new_tx_ring_size, in create_queues_with_size_backoff() 2102 set_io_rings_size(adapter, new_tx_ring_size, in create_queues_with_size_backoff()
|