Home
last modified time | relevance | path

Searched refs:tc_max (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c51 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()
Dhclge_tm.c692 kinfo->tc_info.max_tc = hdev->tc_max; in hclge_tm_update_kinfo_rss_size()
765 for (i = 0; i < hdev->tc_max; i++) { in hclge_tm_tc_info_init()
1052 for (i = 0; i < hdev->tc_max; i++) { in hclge_tm_pri_tc_base_shaper_cfg()
1190 for (i = 0; i < hdev->tc_max; i++) { in hclge_tm_pri_tc_base_dwrr_cfg()
1438 for (i = 0; i < hdev->tc_max; i++) { in hclge_tm_lvl34_schd_mode_cfg()
Dhclge_main.h886 u8 tc_max; member
Dhclge_main.c1558 if (hdev->tc_max > HNAE3_MAX_TC || in hclge_init_tc_config()
1559 hdev->tc_max < 1) { in hclge_init_tc_config()
1561 hdev->tc_max); in hclge_init_tc_config()
1562 hdev->tc_max = 1; in hclge_init_tc_config()
1567 hdev->tc_max = 1; in hclge_init_tc_config()
1570 hdev->pfc_max = hdev->tc_max; in hclge_init_tc_config()
1602 hdev->tc_max = cfg.tc_num; in hclge_configure()
7338 if (tc < 0 || tc > hdev->tc_max) { in hclge_check_cls_flower()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c21 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg() argument
42 for (i = DCB_PG_ATTR_TC_0; i < tc_max + DCB_PG_ATTR_TC_0; i++) { in ixgbe_copy_dcb_cfg()