Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c625 new_tx_size = ring->tx_pending < ENA_MIN_RING_SIZE ? in ena_set_ringparam()
626 ENA_MIN_RING_SIZE : ring->tx_pending; in ena_set_ringparam()
629 new_rx_size = ring->rx_pending < ENA_MIN_RING_SIZE ? in ena_set_ringparam()
630 ENA_MIN_RING_SIZE : ring->rx_pending; in ena_set_ringparam()
H A Dena_netdev.c2128 if (new_tx_ring_size < ENA_MIN_RING_SIZE || in create_queues_with_size_backoff()
2129 new_rx_ring_size < ENA_MIN_RING_SIZE) { in create_queues_with_size_backoff()
2132 ENA_MIN_RING_SIZE); in create_queues_with_size_backoff()
2942 if (max_tx_queue_size < ENA_MIN_RING_SIZE) { in ena_calc_io_queue_size()
2944 max_tx_queue_size, ENA_MIN_RING_SIZE); in ena_calc_io_queue_size()
2948 if (max_rx_queue_size < ENA_MIN_RING_SIZE) { in ena_calc_io_queue_size()
2950 max_rx_queue_size, ENA_MIN_RING_SIZE); in ena_calc_io_queue_size()
2972 tx_queue_size = clamp_val(tx_queue_size, ENA_MIN_RING_SIZE, in ena_calc_io_queue_size()
2974 rx_queue_size = clamp_val(rx_queue_size, ENA_MIN_RING_SIZE, in ena_calc_io_queue_size()
H A Dena_netdev.h53 #define ENA_MIN_RING_SIZE (256) macro