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()
333 u8 tcs = adapter->hw_tcs; in ixgbe_set_dcb_sriov_queues() local
336 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()
344 vmdq_i = min_t(u16, vmdq_i, MAX_TX_QUEUES / tcs); in ixgbe_set_dcb_sriov_queues()
350 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()
382 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()
384 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
386 adapter->num_rx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
400 fcoe->offset = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
405 } else if (tcs > 1) { in ixgbe_set_dcb_sriov_queues()
419 for (i = 0; i < tcs; i++) in ixgbe_set_dcb_sriov_queues()
430 int tcs; in ixgbe_set_dcb_queues() local
433 tcs = adapter->hw_tcs; in ixgbe_set_dcb_queues()
436 if (tcs <= 1) in ixgbe_set_dcb_queues()
440 rss_i = dev->num_tx_queues / tcs; in ixgbe_set_dcb_queues()
445 } else if (tcs > 4) { in ixgbe_set_dcb_queues()
479 for (i = 0; i < tcs; i++) in ixgbe_set_dcb_queues()
482 adapter->num_tx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
484 adapter->num_rx_queues = rss_i * tcs; in ixgbe_set_dcb_queues()
844 u8 tcs = adapter->hw_tcs; in ixgbe_alloc_q_vector() local
849 if ((tcs <= 1) && !(adapter->flags & IXGBE_FLAG_SRIOV_ENABLED)) { in ixgbe_alloc_q_vector()