Lines Matching refs:new_tx_count
249 u32 new_rx_count, new_tx_count; in ixgbevf_set_ringparam() local
255 new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD); in ixgbevf_set_ringparam()
256 new_tx_count = min_t(u32, new_tx_count, IXGBEVF_MAX_TXD); in ixgbevf_set_ringparam()
257 new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); in ixgbevf_set_ringparam()
264 if ((new_tx_count == adapter->tx_ring_count) && in ixgbevf_set_ringparam()
273 adapter->tx_ring[i]->count = new_tx_count; in ixgbevf_set_ringparam()
275 adapter->xdp_ring[i]->count = new_tx_count; in ixgbevf_set_ringparam()
278 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
279 adapter->xdp_ring_count = new_tx_count; in ixgbevf_set_ringparam()
284 if (new_tx_count != adapter->tx_ring_count) { in ixgbevf_set_ringparam()
296 tx_ring[i].count = new_tx_count; in ixgbevf_set_ringparam()
314 tx_ring[i].count = new_tx_count; in ixgbevf_set_ringparam()
371 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
377 adapter->xdp_ring_count = new_tx_count; in ixgbevf_set_ringparam()