Searched refs:tcs (Results 1 – 8 of 8) sorted by relevance
66 #define DECLARE_TCS(tcs) \ argument67 struct tasklet_completion_status tcs = { \78 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_tasklet_complete() local85 tcs->dl_opcode = dl->opcode; in asd_clear_nexus_tasklet_complete()93 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_timedout() local96 tcs->dl_opcode = TMF_RESP_FUNC_FAILED; in asd_clear_nexus_timedout()105 DECLARE_TCS(tcs); \114 ascb->uldd_task = &tcs; \126 res = tcs.dl_opcode; \267 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_tmf_timedout() local[all …]
50 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_cache_ring_dcb_sriov() local53 if (tcs <= 1) in ixgbe_cache_ring_dcb_sriov()64 if ((reg_idx & ~vmdq->mask) >= tcs) in ixgbe_cache_ring_dcb_sriov()72 if ((reg_idx & ~vmdq->mask) >= tcs) in ixgbe_cache_ring_dcb_sriov()83 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()335 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_set_dcb_sriov_queues() local338 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()349 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()381 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()383 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()[all …]
3162 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_setup_mtqc() local3175 if (tcs > 4) in ixgbe_setup_mtqc()3177 else if (tcs > 1) in ixgbe_setup_mtqc()3184 if (tcs > 4) in ixgbe_setup_mtqc()3186 else if (tcs > 1) in ixgbe_setup_mtqc()3195 if (tcs) { in ixgbe_setup_mtqc()3471 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_setup_mrqc() local3474 if (tcs > 4) in ixgbe_setup_mrqc()3476 else if (tcs > 1) in ixgbe_setup_mrqc()3483 if (tcs > 4) in ixgbe_setup_mrqc()[all …]
804 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_set_vf_vlan_msg() local806 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
3002 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_max_channels() local3010 } else if (tcs > 1) { in ixgbe_max_channels()3015 } else if (tcs > 4) { in ixgbe_max_channels()
212 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local215 tcs = netdev_get_num_tc(dev); in bnxt_get_channels()216 if (tcs > 1) in bnxt_get_channels()217 max_tx_rings /= tcs; in bnxt_get_channels()231 int max_rx_rings, max_tx_rings, tcs; in bnxt_set_channels() local239 tcs = netdev_get_num_tc(dev); in bnxt_set_channels()240 if (tcs > 1) in bnxt_set_channels()241 max_tx_rings /= tcs; in bnxt_set_channels()264 if (tcs > 1) in bnxt_set_channels()265 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs; in bnxt_set_channels()
4097 int tcs; in bnxt_setup_msix() local4103 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()4104 if (tcs > 1) { in bnxt_setup_msix()4105 bp->tx_nr_rings_per_tc = bp->tx_nr_rings / tcs; in bnxt_setup_msix()4112 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs; in bnxt_setup_msix()4113 for (i = 0; i < tcs; i++) { in bnxt_setup_msix()
1140 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local1143 if (tcs > 1) in fm10k_max_channels()1144 max_combined = 1 << (fls(max_combined / tcs) - 1); in fm10k_max_channels()