Home
last modified time | relevance | path

Searched refs:tcs (Results 1 – 8 of 8) sorted by relevance

/drivers/scsi/aic94xx/
Daic94xx_tmf.c66 #define DECLARE_TCS(tcs) \ argument
67 struct tasklet_completion_status tcs = { \
78 struct tasklet_completion_status *tcs = ascb->uldd_task; in asd_clear_nexus_tasklet_complete() local
85 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() local
96 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 …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c50 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_cache_ring_dcb_sriov() local
53 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() local
338 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 …]
Dixgbe_main.c3162 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_setup_mtqc() local
3175 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() local
3474 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 …]
Dixgbe_sriov.c804 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_set_vf_vlan_msg() local
806 if (adapter->vfinfo[vf].pf_vlan || tcs) { in ixgbe_set_vf_vlan_msg()
Dixgbe_ethtool.c3002 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_max_channels() local
3010 } else if (tcs > 1) { in ixgbe_max_channels()
3015 } else if (tcs > 4) { in ixgbe_max_channels()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c212 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local
215 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() local
239 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()
Dbnxt.c4097 int tcs; in bnxt_setup_msix() local
4103 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()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c1140 u8 tcs = netdev_get_num_tc(dev); in fm10k_max_channels() local
1143 if (tcs > 1) in fm10k_max_channels()
1144 max_combined = 1 << (fls(max_combined / tcs) - 1); in fm10k_max_channels()