Searched refs:tc_max (Results 1 – 4 of 4) sorted by relevance
51 ets->ets_cap = hdev->tc_max; in hclge_tm_info_to_ieee_ets()81 if (num_tc > hdev->tc_max) { in hclge_dcb_common_validate()84 num_tc, hdev->tc_max); in hclge_dcb_common_validate()
900 u8 tc_max; member
1638 hdev->tc_max = cfg.tc_num; in hclge_configure()1665 if ((hdev->tc_max > HNAE3_MAX_TC) || in hclge_configure()1666 (hdev->tc_max < 1)) { in hclge_configure()1668 hdev->tc_max); in hclge_configure()1669 hdev->tc_max = 1; in hclge_configure()1674 hdev->tc_max = 1; in hclge_configure()1677 hdev->pfc_max = hdev->tc_max; in hclge_configure()7610 if (tc < 0 || tc > hdev->tc_max) { in hclge_check_cls_flower()
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()
Completed in 34 milliseconds