Home
last modified time | relevance | path

Searched refs:tc_cnt (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dcb.c129 ets->ets_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getets()
181 if (max_tc >= pdata->hw_feat.tc_cnt) { in xgbe_dcb_ieee_setets()
216 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc()
237 if (pfc->pfc_en & ~((1 << pdata->hw_feat.tc_cnt) - 1)) { in xgbe_dcb_ieee_setpfc()
H A Dxgbe-dev.c2320 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
2668 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2669 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2671 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2784 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
2789 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
H A Dxgbe-drv.c787 hw_feat->tc_cnt = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, NUMTC); in xgbe_get_all_hw_features()
838 hw_feat->tc_cnt++; in xgbe_get_all_hw_features()
901 hw_feat->tc_cnt); in xgbe_get_all_hw_features()
2188 if (tc > pdata->hw_feat.tc_cnt) in xgbe_setup_tc()
H A Dxgbe.h1022 unsigned int tc_cnt; /* Number of Traffic Classes */ member
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pow-defs.h767 uint64_t tc_cnt:4; member
773 uint64_t tc_cnt:4;
780 uint64_t tc_cnt:4; member
790 uint64_t tc_cnt:4;
797 uint64_t tc_cnt:4; member
807 uint64_t tc_cnt:4;
814 uint64_t tc_cnt:4; member
824 uint64_t tc_cnt:4;
831 uint64_t tc_cnt:4; member
841 uint64_t tc_cnt:4;
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c444 hw_feat->tc_cnt = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features()
511 hw_feat->tc_cnt++; in xlgmac_get_all_hw_features()
666 (pdata->hw_feat.tc_cnt)); in xlgmac_print_all_hw_features()
H A Ddwc-xlgmac.h525 unsigned int tc_cnt; /* Number of Traffic Classes */ member
H A Ddwc-xlgmac-hw.c1485 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_mtl_mode()
1515 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()
1516 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()
1518 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_queue_mapping()
/linux/tools/include/uapi/linux/
H A Dpkt_cls.h102 struct tc_cnt { struct
/linux/include/uapi/linux/
H A Dpkt_cls.h174 struct tc_cnt { struct
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c955 goto tc_cnt; in mlxsw_sp_port_get_hw_xstats()
961 tc_cnt: in mlxsw_sp_port_get_hw_xstats()