Lines Matching full: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()
112 * TCs : TC0/1 TC2/3 TC4-7 in ixgbe_get_first_reg_idx()
125 * TCs : TC0 TC1 TC2/3 in ixgbe_get_first_reg_idx()
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()
461 /* disable ATR as it is not supported when multiple TCs are enabled */ 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()
1187 e_dev_warn("Number of DCB TCs exceeds number of available queues. Disabling DCB support.\n"); in ixgbe_set_interrupt_capability()