Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.c744 u8 tc_map = 0; in ice_pf_dcb_recfg() local
755 tc_map = ice_dcb_get_ena_tc(dcbcfg); in ice_pf_dcb_recfg()
761 tc_map = ICE_DFLT_TRAFFIC_CLASS; in ice_pf_dcb_recfg()
765 tc_map = BIT(ice_get_first_droptc(vsi)); in ice_pf_dcb_recfg()
767 tc_map = ICE_DFLT_TRAFFIC_CLASS; in ice_pf_dcb_recfg()
770 ret = ice_vsi_cfg_tc(vsi, tc_map); in ice_pf_dcb_recfg()
Dice_dcb_nl.c1064 u8 prio, tc_map; in ice_dcbnl_set_all() local
1067 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
1070 if (tc_map & vsi->tc_cfg.ena_tc) { in ice_dcbnl_set_all()
/linux-6.6.21/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.c6776 u8 tc_map = 0; in i40e_dcb_reconfigure() local
6781 tc_map = i40e_pf_get_tc_map(pf); in i40e_dcb_reconfigure()
6782 if (tc_map == I40E_DEFAULT_TRAFFIC_CLASS) in i40e_dcb_reconfigure()
6788 ret = i40e_veb_config_tc(pf->veb[v], tc_map); in i40e_dcb_reconfigure()
6806 tc_map = i40e_pf_get_tc_map(pf); in i40e_dcb_reconfigure()
6808 tc_map = I40E_DEFAULT_TRAFFIC_CLASS; in i40e_dcb_reconfigure()
6810 ret = i40e_vsi_config_tc(pf->vsi[v], tc_map); in i40e_dcb_reconfigure()
6948 u8 tc_map = 0; in i40e_hw_dcb_config() local
6972 tc_map |= BIT(i); in i40e_hw_dcb_config()
7015 ets_data.tc_valid_bits = tc_map; in i40e_hw_dcb_config()