Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c736 u8 tc_map = 0; in ice_pf_dcb_recfg() local
747 tc_map = ice_dcb_get_ena_tc(dcbcfg); in ice_pf_dcb_recfg()
753 tc_map = ICE_DFLT_TRAFFIC_CLASS; in ice_pf_dcb_recfg()
757 tc_map = BIT(ice_get_first_droptc(vsi)); in ice_pf_dcb_recfg()
759 tc_map = ICE_DFLT_TRAFFIC_CLASS; in ice_pf_dcb_recfg()
762 ret = ice_vsi_cfg_tc(vsi, tc_map); in ice_pf_dcb_recfg()
Dice_dcb_nl.c1014 u8 prio, tc_map; in ice_dcbnl_set_all() local
1017 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
1020 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c886 u8 prio, tc_map; in i40e_dcbnl_set_all() local
906 tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); in i40e_dcbnl_set_all()
909 if (tc_map & vsi->tc_config.enabled_tc) { in i40e_dcbnl_set_all()
Di40e_main.c6739 u8 tc_map = 0; in i40e_dcb_reconfigure() local
6744 tc_map = i40e_pf_get_tc_map(pf); in i40e_dcb_reconfigure()
6745 if (tc_map == I40E_DEFAULT_TRAFFIC_CLASS) in i40e_dcb_reconfigure()
6751 ret = i40e_veb_config_tc(pf->veb[v], tc_map); in i40e_dcb_reconfigure()
6769 tc_map = i40e_pf_get_tc_map(pf); in i40e_dcb_reconfigure()
6771 tc_map = I40E_DEFAULT_TRAFFIC_CLASS; in i40e_dcb_reconfigure()
6773 ret = i40e_vsi_config_tc(pf->vsi[v], tc_map); in i40e_dcb_reconfigure()
6911 u8 tc_map = 0; in i40e_hw_dcb_config() local
6935 tc_map |= BIT(i); in i40e_hw_dcb_config()
6978 ets_data.tc_valid_bits = tc_map; in i40e_hw_dcb_config()