Home
last modified time | relevance | path

Searched refs:new_rx_count (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/intel/igbvf/
Dethtool.c223 u32 new_rx_count, new_tx_count; in igbvf_set_ringparam() local
228 new_rx_count = max(ring->rx_pending, (u32)IGBVF_MIN_RXD); in igbvf_set_ringparam()
229 new_rx_count = min(new_rx_count, (u32)IGBVF_MAX_RXD); in igbvf_set_ringparam()
230 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); in igbvf_set_ringparam()
237 (new_rx_count == adapter->rx_ring->count)) { in igbvf_set_ringparam()
247 adapter->rx_ring->count = new_rx_count; in igbvf_set_ringparam()
277 if (new_rx_count != adapter->rx_ring->count) { in igbvf_set_ringparam()
280 temp_ring->count = new_rx_count; in igbvf_set_ringparam()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c297 u32 new_rx_count, new_tx_count; in ixgbevf_set_ringparam() local
302 new_rx_count = max(ring->rx_pending, (u32)IXGBEVF_MIN_RXD); in ixgbevf_set_ringparam()
303 new_rx_count = min(new_rx_count, (u32)IXGBEVF_MAX_RXD); in ixgbevf_set_ringparam()
304 new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); in ixgbevf_set_ringparam()
311 (new_rx_count == adapter->rx_ring->count)) { in ixgbevf_set_ringparam()
327 adapter->rx_ring[i].count = new_rx_count; in ixgbevf_set_ringparam()
329 adapter->rx_ring_count = new_rx_count; in ixgbevf_set_ringparam()
368 rx_ring[i].count = new_rx_count; in ixgbevf_set_ringparam()
391 adapter->rx_ring_count = new_rx_count; in ixgbevf_set_ringparam()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
Digb_ethtool.c718 u16 new_rx_count, new_tx_count; in igb_set_ringparam() local
723 new_rx_count = min_t(u32, ring->rx_pending, IGB_MAX_RXD); in igb_set_ringparam()
724 new_rx_count = max_t(u16, new_rx_count, IGB_MIN_RXD); in igb_set_ringparam()
725 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); in igb_set_ringparam()
732 (new_rx_count == adapter->rx_ring_count)) { in igb_set_ringparam()
744 adapter->rx_ring[i]->count = new_rx_count; in igb_set_ringparam()
746 adapter->rx_ring_count = new_rx_count; in igb_set_ringparam()
793 if (new_rx_count != adapter->rx_ring_count) { in igb_set_ringparam()
798 temp_ring[i].count = new_rx_count; in igb_set_ringparam()
817 adapter->rx_ring_count = new_rx_count; in igb_set_ringparam()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dethtool.c624 u16 new_rx_count, new_tx_count; in e1000_set_ringparam() local
629 new_rx_count = clamp_t(u32, ring->rx_pending, E1000_MIN_RXD, in e1000_set_ringparam()
631 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); in e1000_set_ringparam()
638 (new_rx_count == adapter->rx_ring_count)) in e1000_set_ringparam()
648 adapter->rx_ring->count = new_rx_count; in e1000_set_ringparam()
650 adapter->rx_ring_count = new_rx_count; in e1000_set_ringparam()
655 set_rx = (new_rx_count != adapter->rx_ring_count); in e1000_set_ringparam()
689 temp_rx->count = new_rx_count; in e1000_set_ringparam()
704 adapter->rx_ring_count = new_rx_count; in e1000_set_ringparam()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c933 u32 new_rx_count, new_tx_count; in ixgbe_set_ringparam() local
939 new_rx_count = max_t(u32, ring->rx_pending, IXGBE_MIN_RXD); in ixgbe_set_ringparam()
940 new_rx_count = min_t(u32, new_rx_count, IXGBE_MAX_RXD); in ixgbe_set_ringparam()
941 new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); in ixgbe_set_ringparam()
948 (new_rx_count == adapter->rx_ring[0]->count)) { in ixgbe_set_ringparam()
960 adapter->rx_ring[i]->count = new_rx_count; in ixgbe_set_ringparam()
962 adapter->rx_ring_count = new_rx_count; in ixgbe_set_ringparam()
995 if (new_rx_count != adapter->rx_ring_count) { in ixgbe_set_ringparam()
999 temp_rx_ring[i].count = new_rx_count; in ixgbe_set_ringparam()
1027 if (new_rx_count != adapter->rx_ring_count) { in ixgbe_set_ringparam()
[all …]