Lines Matching refs:tcs

25 	u8 tcs = adapter->hw_tcs;  in ixgbe_cache_ring_dcb_sriov()  local
28 if (tcs <= 1) in ixgbe_cache_ring_dcb_sriov()
39 if ((reg_idx & ~vmdq->mask) >= tcs) { in ixgbe_cache_ring_dcb_sriov()
50 if ((reg_idx & ~vmdq->mask) >= tcs) in ixgbe_cache_ring_dcb_sriov()
61 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()
329 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local
332 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()
340 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues()
346 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()
378 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()
380 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
382 adapter->num_rx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
396 fcoe->offset = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
401 } else if (tcs > 1) { in ixgbe_set_dcb_sriov_queues()
415 for (i = 0; i < tcs; i++) in ixgbe_set_dcb_sriov_queues()
426 int tcs; in ixgbe_set_dcb_queues() local
429 tcs = adapter->hw_tcs; in ixgbe_set_dcb_queues()
432 if (tcs <= 1) in ixgbe_set_dcb_queues()
436 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
441 } else if (tcs > 4) { in ixgbe_set_dcb_queues()
475 for (i = 0; i < tcs; i++) in ixgbe_set_dcb_queues()
478 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
480 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
840 u8 tcs = adapter->hw_tcs; in ixgbe_alloc_q_vector() local
845 if ((tcs <= 1) && !(adapter->flags & IXGBE_FLAG_SRIOV_ENABLED)) { in ixgbe_alloc_q_vector()