Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
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()
Dxgbe-dev.c2253 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
2601 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2602 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2604 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2717 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
2722 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
Dxgbe-drv.c772 hw_feat->tc_cnt = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, NUMTC); in xgbe_get_all_hw_features()
823 hw_feat->tc_cnt++; in xgbe_get_all_hw_features()
886 hw_feat->tc_cnt); in xgbe_get_all_hw_features()
2262 if (tc > pdata->hw_feat.tc_cnt) in xgbe_setup_tc()
Dxgbe.h990 unsigned int tc_cnt; /* Number of Traffic Classes */ member
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pow-defs.h1028 uint64_t tc_cnt:4; member
1034 uint64_t tc_cnt:4;
1041 uint64_t tc_cnt:4; member
1051 uint64_t tc_cnt:4;
1058 uint64_t tc_cnt:4; member
1068 uint64_t tc_cnt:4;
1078 uint64_t tc_cnt:4; member
1088 uint64_t tc_cnt:4;
1101 uint64_t tc_cnt:4; member
1111 uint64_t tc_cnt:4;
/Linux-v4.19/drivers/net/ethernet/synopsys/
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()
Ddwc-xlgmac.h524 unsigned int tc_cnt; /* Number of Traffic Classes */ member
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-v4.19/net/sched/
Dact_ipt.c284 struct tc_cnt c; in tcf_ipt_dump()
303 nla_put(skb, TCA_IPT_CNT, sizeof(struct tc_cnt), &c) || in tcf_ipt_dump()
/Linux-v4.19/include/uapi/linux/
Dpkt_cls.h102 struct tc_cnt { struct