Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
/linux-4.4.14/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()
334 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_set_dcb_sriov_queues() local
337 if (tcs <= 1) in ixgbe_set_dcb_sriov_queues()
348 if (tcs > 4) { in ixgbe_set_dcb_sriov_queues()
380 adapter->num_rx_queues_per_pool = tcs; in ixgbe_set_dcb_sriov_queues()
382 adapter->num_tx_queues = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
[all …]
Dixgbe_main.c3161 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_setup_mtqc() local
3174 if (tcs > 4) in ixgbe_setup_mtqc()
3176 else if (tcs > 1) in ixgbe_setup_mtqc()
3183 if (tcs > 4) in ixgbe_setup_mtqc()
3185 else if (tcs > 1) in ixgbe_setup_mtqc()
3194 if (tcs) { in ixgbe_setup_mtqc()
3470 u8 tcs = netdev_get_num_tc(adapter->netdev); in ixgbe_setup_mrqc() local
3473 if (tcs > 4) in ixgbe_setup_mrqc()
3475 else if (tcs > 1) in ixgbe_setup_mrqc()
3482 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()
/linux-4.4.14/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.c4065 int tcs; in bnxt_setup_msix() local
4071 tcs = netdev_get_num_tc(dev); in bnxt_setup_msix()
4072 if (tcs > 1) { in bnxt_setup_msix()
4073 bp->tx_nr_rings_per_tc = bp->tx_nr_rings / tcs; in bnxt_setup_msix()
4080 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs; in bnxt_setup_msix()
4081 for (i = 0; i < tcs; i++) { in bnxt_setup_msix()
/linux-4.4.14/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()