Lines Matching refs:new_tx_count
243 u32 new_rx_count, new_tx_count; in ixgbevf_set_ringparam() local
249 new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD); in ixgbevf_set_ringparam()
250 new_tx_count = min_t(u32, new_tx_count, IXGBEVF_MAX_TXD); in ixgbevf_set_ringparam()
251 new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); in ixgbevf_set_ringparam()
258 if ((new_tx_count == adapter->tx_ring_count) && in ixgbevf_set_ringparam()
267 adapter->tx_ring[i]->count = new_tx_count; in ixgbevf_set_ringparam()
269 adapter->xdp_ring[i]->count = new_tx_count; in ixgbevf_set_ringparam()
272 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
273 adapter->xdp_ring_count = new_tx_count; in ixgbevf_set_ringparam()
278 if (new_tx_count != adapter->tx_ring_count) { in ixgbevf_set_ringparam()
290 tx_ring[i].count = new_tx_count; in ixgbevf_set_ringparam()
308 tx_ring[i].count = new_tx_count; in ixgbevf_set_ringparam()
365 adapter->tx_ring_count = new_tx_count; in ixgbevf_set_ringparam()
371 adapter->xdp_ring_count = new_tx_count; in ixgbevf_set_ringparam()