Searched refs:new_rx_count (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c220 u32 new_rx_count, new_tx_count; igbvf_set_ringparam() local
225 new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); igbvf_set_ringparam()
226 new_rx_count = min_t(u32, new_rx_count, IGBVF_MAX_RXD); igbvf_set_ringparam()
227 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); igbvf_set_ringparam()
234 (new_rx_count == adapter->rx_ring->count)) { igbvf_set_ringparam()
244 adapter->rx_ring->count = new_rx_count; igbvf_set_ringparam()
273 if (new_rx_count != adapter->rx_ring->count) { igbvf_set_ringparam()
276 temp_ring->count = new_rx_count; igbvf_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c269 u32 new_rx_count, new_tx_count; ixgbevf_set_ringparam() local
279 new_rx_count = max_t(u32, ring->rx_pending, IXGBEVF_MIN_RXD); ixgbevf_set_ringparam()
280 new_rx_count = min_t(u32, new_rx_count, IXGBEVF_MAX_RXD); ixgbevf_set_ringparam()
281 new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); ixgbevf_set_ringparam()
285 (new_rx_count == adapter->rx_ring_count)) ixgbevf_set_ringparam()
295 adapter->rx_ring[i]->count = new_rx_count; ixgbevf_set_ringparam()
297 adapter->rx_ring_count = new_rx_count; ixgbevf_set_ringparam()
327 if (new_rx_count != adapter->rx_ring_count) { ixgbevf_set_ringparam()
337 rx_ring[i].count = new_rx_count; ixgbevf_set_ringparam()
374 adapter->rx_ring_count = new_rx_count; ixgbevf_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c588 u32 new_rx_count, new_tx_count; fm10k_set_ringparam() local
597 new_rx_count = clamp_t(u32, ring->rx_pending, fm10k_set_ringparam()
599 new_rx_count = ALIGN(new_rx_count, FM10K_REQ_RX_DESCRIPTOR_MULTIPLE); fm10k_set_ringparam()
602 (new_rx_count == interface->rx_ring_count)) { fm10k_set_ringparam()
614 interface->rx_ring[i]->count = new_rx_count; fm10k_set_ringparam()
616 interface->rx_ring_count = new_rx_count; fm10k_set_ringparam()
663 if (new_rx_count != interface->rx_ring_count) { fm10k_set_ringparam()
668 temp_ring[i].count = new_rx_count; fm10k_set_ringparam()
686 interface->rx_ring_count = new_rx_count; fm10k_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
H A Di40evf_ethtool.c247 u32 new_rx_count, new_tx_count; i40evf_set_ringparam() local
257 new_rx_count = clamp_t(u32, ring->rx_pending, i40evf_set_ringparam()
260 new_rx_count = ALIGN(new_rx_count, I40EVF_REQ_DESCRIPTOR_MULTIPLE); i40evf_set_ringparam()
264 (new_rx_count == adapter->rx_desc_count)) i40evf_set_ringparam()
268 adapter->rx_desc_count = new_rx_count; i40evf_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c671 u16 new_rx_count, new_tx_count; e1000_set_ringparam() local
676 new_rx_count = clamp_t(u32, ring->rx_pending, E1000_MIN_RXD, e1000_set_ringparam()
678 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); e1000_set_ringparam()
685 (new_rx_count == adapter->rx_ring_count)) e1000_set_ringparam()
695 adapter->rx_ring->count = new_rx_count; e1000_set_ringparam()
697 adapter->rx_ring_count = new_rx_count; e1000_set_ringparam()
702 set_rx = (new_rx_count != adapter->rx_ring_count); e1000_set_ringparam()
737 temp_rx->count = new_rx_count; e1000_set_ringparam()
752 adapter->rx_ring_count = new_rx_count; e1000_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c864 u16 new_rx_count, new_tx_count; igb_set_ringparam() local
869 new_rx_count = min_t(u32, ring->rx_pending, IGB_MAX_RXD); igb_set_ringparam()
870 new_rx_count = max_t(u16, new_rx_count, IGB_MIN_RXD); igb_set_ringparam()
871 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); igb_set_ringparam()
878 (new_rx_count == adapter->rx_ring_count)) { igb_set_ringparam()
890 adapter->rx_ring[i]->count = new_rx_count; igb_set_ringparam()
892 adapter->rx_ring_count = new_rx_count; igb_set_ringparam()
940 if (new_rx_count != adapter->rx_ring_count) { igb_set_ringparam()
945 temp_ring[i].count = new_rx_count; igb_set_ringparam()
964 adapter->rx_ring_count = new_rx_count; igb_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c967 u32 new_rx_count, new_tx_count; ixgbe_set_ringparam() local
976 new_rx_count = clamp_t(u32, ring->rx_pending, ixgbe_set_ringparam()
978 new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); ixgbe_set_ringparam()
981 (new_rx_count == adapter->rx_ring_count)) { ixgbe_set_ringparam()
993 adapter->rx_ring[i]->count = new_rx_count; ixgbe_set_ringparam()
995 adapter->rx_ring_count = new_rx_count; ixgbe_set_ringparam()
1043 if (new_rx_count != adapter->rx_ring_count) { ixgbe_set_ringparam()
1048 temp_ring[i].count = new_rx_count; ixgbe_set_ringparam()
1067 adapter->rx_ring_count = new_rx_count; ixgbe_set_ringparam()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c1160 u32 new_rx_count, new_tx_count; i40e_set_ringparam() local
1178 new_rx_count = ALIGN(ring->rx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE); i40e_set_ringparam()
1182 (new_rx_count == vsi->rx_rings[0]->count)) i40e_set_ringparam()
1192 vsi->rx_rings[i]->count = new_rx_count; i40e_set_ringparam()
1238 if (new_rx_count != vsi->rx_rings[0]->count) { i40e_set_ringparam()
1241 vsi->rx_rings[0]->count, new_rx_count); i40e_set_ringparam()
1252 rx_rings[i].count = new_rx_count; i40e_set_ringparam()

Completed in 284 milliseconds