Searched refs:tc_max (Results 1 – 4 of 4) sorted by relevance
52 ets->ets_cap = hdev->tc_max; in hclge_tm_info_to_ieee_ets()85 if (num_tc > hdev->tc_max) { in hclge_dcb_common_validate()88 num_tc, hdev->tc_max); in hclge_dcb_common_validate()
762 u8 tc_max; member
1487 hdev->tc_max = cfg.tc_num; in hclge_configure()1507 if ((hdev->tc_max > HNAE3_MAX_TC) || in hclge_configure()1508 (hdev->tc_max < 1)) { in hclge_configure()1510 hdev->tc_max); in hclge_configure()1511 hdev->tc_max = 1; in hclge_configure()1516 hdev->tc_max = 1; in hclge_configure()1519 hdev->pfc_max = 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()