Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c52 ets->ets_cap = hdev->tc_max; in hclge_tm_info_to_ieee_ets()
82 if (num_tc > hdev->tc_max) { in hclge_dcb_common_validate()
85 num_tc, hdev->tc_max); in hclge_dcb_common_validate()
129 for (i = 0; i < hdev->tc_max; i++) { in hclge_ets_validate()
Dhclge_main.h760 u8 tc_max; member
Dhclge_main.c1483 hdev->tc_max = cfg.tc_num; in hclge_configure()
1503 if ((hdev->tc_max > HNAE3_MAX_TC) || in hclge_configure()
1504 (hdev->tc_max < 1)) { in hclge_configure()
1506 hdev->tc_max); in hclge_configure()
1507 hdev->tc_max = 1; in hclge_configure()
1512 hdev->tc_max = 1; in hclge_configure()
1515 hdev->pfc_max = hdev->tc_max; in hclge_configure()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c23 static int ixgbe_copy_dcb_cfg(struct ixgbe_adapter *adapter, int tc_max) in ixgbe_copy_dcb_cfg() argument
44 for (i = DCB_PG_ATTR_TC_0; i < tc_max + DCB_PG_ATTR_TC_0; i++) { in ixgbe_copy_dcb_cfg()