Searched refs:tc_max (Results 1 – 4 of 4) sorted by relevance
48 ets->ets_cap = hdev->tc_max; in hclge_tm_info_to_ieee_ets()81 if (ets->prio_tc[i] >= hdev->tc_max || in hclge_ets_validate()82 i >= hdev->tc_max) in hclge_ets_validate()304 if (tc > hdev->tc_max) { in hclge_setup_tc()307 tc, hdev->tc_max); in hclge_setup_tc()
500 u8 tc_max; member
1158 hdev->tc_max = cfg.tc_num; in hclge_configure()1169 if ((hdev->tc_max > HNAE3_MAX_TC) || in hclge_configure()1170 (hdev->tc_max < 1)) { in hclge_configure()1172 hdev->tc_max); in hclge_configure()1173 hdev->tc_max = 1; in hclge_configure()1178 hdev->tc_max = 1; in hclge_configure()1181 hdev->pfc_max = hdev->tc_max; in hclge_configure()1184 hdev->tm_info.num_tc = hdev->tc_max; in hclge_configure()
23 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg() argument44 for (i = DCB_PG_ATTR_TC_0; i < tc_max + DCB_PG_ATTR_TC_0; i++) { in ixgbe_copy_dcb_cfg()