Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c693 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()
/Linux-v6.6/drivers/net/ethernet/amazon/ena/
Dena_netdev.c2603 int new_rx_ring_size, new_tx_ring_size; in create_queues_with_size_backoff() local
2661 new_tx_ring_size = cur_tx_ring_size; in create_queues_with_size_backoff()
2668 new_tx_ring_size = cur_tx_ring_size / 2; in create_queues_with_size_backoff()
2672 if (new_tx_ring_size < ENA_MIN_RING_SIZE || in create_queues_with_size_backoff()
2682 new_tx_ring_size, in create_queues_with_size_backoff()
2685 set_io_rings_size(adapter, new_tx_ring_size, in create_queues_with_size_backoff()