Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c52 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()
Dhclge_main.h762 u8 tc_max; member
Dhclge_main.c1487 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()
/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()