new_tx_count 670 drivers/net/ethernet/intel/e1000e/ethtool.c u16 new_rx_count, new_tx_count; new_tx_count 679 drivers/net/ethernet/intel/e1000e/ethtool.c new_tx_count = clamp_t(u32, ring->tx_pending, E1000_MIN_TXD, new_tx_count 681 drivers/net/ethernet/intel/e1000e/ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 683 drivers/net/ethernet/intel/e1000e/ethtool.c if ((new_tx_count == adapter->tx_ring_count) && new_tx_count 693 drivers/net/ethernet/intel/e1000e/ethtool.c adapter->tx_ring->count = new_tx_count; new_tx_count 695 drivers/net/ethernet/intel/e1000e/ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 700 drivers/net/ethernet/intel/e1000e/ethtool.c set_tx = (new_tx_count != adapter->tx_ring_count); new_tx_count 729 drivers/net/ethernet/intel/e1000e/ethtool.c temp_tx->count = new_tx_count; new_tx_count 746 drivers/net/ethernet/intel/e1000e/ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 526 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 531 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c new_tx_count = clamp_t(u32, ring->tx_pending, new_tx_count 533 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c new_tx_count = ALIGN(new_tx_count, FM10K_REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 539 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if ((new_tx_count == interface->tx_ring_count) && new_tx_count 550 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring[i]->count = new_tx_count; new_tx_count 553 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring_count = new_tx_count; new_tx_count 574 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c if (new_tx_count != interface->tx_ring_count) { new_tx_count 579 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c temp_ring[i].count = new_tx_count; new_tx_count 597 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c interface->tx_ring_count = new_tx_count; new_tx_count 1943 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 1962 drivers/net/ethernet/intel/i40e/i40e_ethtool.c new_tx_count = ALIGN(ring->tx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE); new_tx_count 1966 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if ((new_tx_count == vsi->tx_rings[0]->count) && new_tx_count 1987 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsi->tx_rings[i]->count = new_tx_count; new_tx_count 1990 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsi->xdp_rings[i]->count = new_tx_count; new_tx_count 1992 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsi->num_tx_desc = new_tx_count; new_tx_count 2005 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (new_tx_count != vsi->tx_rings[0]->count) { new_tx_count 2008 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsi->tx_rings[0]->count, new_tx_count); new_tx_count 2021 drivers/net/ethernet/intel/i40e/i40e_ethtool.c tx_rings[i].count = new_tx_count; new_tx_count 2130 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsi->num_tx_desc = new_tx_count; new_tx_count 600 drivers/net/ethernet/intel/iavf/iavf_ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 605 drivers/net/ethernet/intel/iavf/iavf_ethtool.c new_tx_count = clamp_t(u32, ring->tx_pending, new_tx_count 608 drivers/net/ethernet/intel/iavf/iavf_ethtool.c new_tx_count = ALIGN(new_tx_count, IAVF_REQ_DESCRIPTOR_MULTIPLE); new_tx_count 616 drivers/net/ethernet/intel/iavf/iavf_ethtool.c if ((new_tx_count == adapter->tx_desc_count) && new_tx_count 620 drivers/net/ethernet/intel/iavf/iavf_ethtool.c adapter->tx_desc_count = new_tx_count; new_tx_count 875 drivers/net/ethernet/intel/igb/igb_ethtool.c u16 new_rx_count, new_tx_count; new_tx_count 884 drivers/net/ethernet/intel/igb/igb_ethtool.c new_tx_count = min_t(u32, ring->tx_pending, IGB_MAX_TXD); new_tx_count 885 drivers/net/ethernet/intel/igb/igb_ethtool.c new_tx_count = max_t(u16, new_tx_count, IGB_MIN_TXD); new_tx_count 886 drivers/net/ethernet/intel/igb/igb_ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 888 drivers/net/ethernet/intel/igb/igb_ethtool.c if ((new_tx_count == adapter->tx_ring_count) && new_tx_count 899 drivers/net/ethernet/intel/igb/igb_ethtool.c adapter->tx_ring[i]->count = new_tx_count; new_tx_count 902 drivers/net/ethernet/intel/igb/igb_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 925 drivers/net/ethernet/intel/igb/igb_ethtool.c if (new_tx_count != adapter->tx_ring_count) { new_tx_count 930 drivers/net/ethernet/intel/igb/igb_ethtool.c temp_ring[i].count = new_tx_count; new_tx_count 948 drivers/net/ethernet/intel/igb/igb_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 198 drivers/net/ethernet/intel/igbvf/ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 207 drivers/net/ethernet/intel/igbvf/ethtool.c new_tx_count = max_t(u32, ring->tx_pending, IGBVF_MIN_TXD); new_tx_count 208 drivers/net/ethernet/intel/igbvf/ethtool.c new_tx_count = min_t(u32, new_tx_count, IGBVF_MAX_TXD); new_tx_count 209 drivers/net/ethernet/intel/igbvf/ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 211 drivers/net/ethernet/intel/igbvf/ethtool.c if ((new_tx_count == adapter->tx_ring->count) && new_tx_count 221 drivers/net/ethernet/intel/igbvf/ethtool.c adapter->tx_ring->count = new_tx_count; new_tx_count 238 drivers/net/ethernet/intel/igbvf/ethtool.c if (new_tx_count != adapter->tx_ring->count) { new_tx_count 241 drivers/net/ethernet/intel/igbvf/ethtool.c temp_ring->count = new_tx_count; new_tx_count 489 drivers/net/ethernet/intel/igc/igc_ethtool.c u16 new_rx_count, new_tx_count; new_tx_count 499 drivers/net/ethernet/intel/igc/igc_ethtool.c new_tx_count = min_t(u32, ring->tx_pending, IGC_MAX_TXD); new_tx_count 500 drivers/net/ethernet/intel/igc/igc_ethtool.c new_tx_count = max_t(u16, new_tx_count, IGC_MIN_TXD); new_tx_count 501 drivers/net/ethernet/intel/igc/igc_ethtool.c new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 503 drivers/net/ethernet/intel/igc/igc_ethtool.c if (new_tx_count == adapter->tx_ring_count && new_tx_count 514 drivers/net/ethernet/intel/igc/igc_ethtool.c adapter->tx_ring[i]->count = new_tx_count; new_tx_count 517 drivers/net/ethernet/intel/igc/igc_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 540 drivers/net/ethernet/intel/igc/igc_ethtool.c if (new_tx_count != adapter->tx_ring_count) { new_tx_count 545 drivers/net/ethernet/intel/igc/igc_ethtool.c temp_ring[i].count = new_tx_count; new_tx_count 563 drivers/net/ethernet/intel/igc/igc_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 1038 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 1043 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c new_tx_count = clamp_t(u32, ring->tx_pending, new_tx_count 1045 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 1051 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if ((new_tx_count == adapter->tx_ring_count) && new_tx_count 1062 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c adapter->tx_ring[i]->count = new_tx_count; new_tx_count 1064 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c adapter->xdp_ring[i]->count = new_tx_count; new_tx_count 1067 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 1068 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c adapter->xdp_ring_count = new_tx_count; new_tx_count 1091 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c if (new_tx_count != adapter->tx_ring_count) { new_tx_count 1096 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c temp_ring[i].count = new_tx_count; new_tx_count 1111 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c temp_ring[i].count = new_tx_count; new_tx_count 1135 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 245 drivers/net/ethernet/intel/ixgbevf/ethtool.c u32 new_rx_count, new_tx_count; new_tx_count 251 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD); new_tx_count 252 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_tx_count = min_t(u32, new_tx_count, IXGBEVF_MAX_TXD); new_tx_count 253 drivers/net/ethernet/intel/ixgbevf/ethtool.c new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE); new_tx_count 260 drivers/net/ethernet/intel/ixgbevf/ethtool.c if ((new_tx_count == adapter->tx_ring_count) && new_tx_count 269 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->tx_ring[i]->count = new_tx_count; new_tx_count 271 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->xdp_ring[i]->count = new_tx_count; new_tx_count 274 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 275 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->xdp_ring_count = new_tx_count; new_tx_count 280 drivers/net/ethernet/intel/ixgbevf/ethtool.c if (new_tx_count != adapter->tx_ring_count) { new_tx_count 292 drivers/net/ethernet/intel/ixgbevf/ethtool.c tx_ring[i].count = new_tx_count; new_tx_count 310 drivers/net/ethernet/intel/ixgbevf/ethtool.c tx_ring[i].count = new_tx_count; new_tx_count 367 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->tx_ring_count = new_tx_count; new_tx_count 373 drivers/net/ethernet/intel/ixgbevf/ethtool.c adapter->xdp_ring_count = new_tx_count;