Searched refs:cee_cfg (Results 1 – 3 of 3) sorted by relevance
625 struct i40e_aqc_get_cee_dcb_cfg_v1_resp *cee_cfg, in i40e_cee_to_dcb_v1_config() argument628 u16 status, tlv_status = LE16_TO_CPU(cee_cfg->tlv_status); in i40e_cee_to_dcb_v1_config()629 u16 app_prio = LE16_TO_CPU(cee_cfg->oper_app_prio); in i40e_cee_to_dcb_v1_config()633 dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; in i40e_cee_to_dcb_v1_config()639 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()643 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()650 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_v1_config()656 cee_cfg->oper_num_tc - 1; in i40e_cee_to_dcb_v1_config()664 dcbcfg->pfc.pfcenable = cee_cfg->oper_pfc_en; in i40e_cee_to_dcb_v1_config()706 struct i40e_aqc_get_cee_dcb_cfg_resp *cee_cfg, in i40e_cee_to_dcb_config() argument[all …]
1003 * @cee_cfg: pointer to CEE configuration struct1009 ice_cee_to_dcb_cfg(struct ice_aqc_get_cee_dcb_cfg_resp *cee_cfg, in ice_cee_to_dcb_cfg() argument 1012 u32 status, tlv_status = LE32_TO_CPU(cee_cfg->tlv_status); in ice_cee_to_dcb_cfg() 1015 u16 app_prio = LE16_TO_CPU(cee_cfg->oper_app_prio); in ice_cee_to_dcb_cfg() 1025 dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; in ice_cee_to_dcb_cfg() 1032 ((cee_cfg->oper_prio_tc[i] & ICE_CEE_PGID_PRIO_0_M) >> in ice_cee_to_dcb_cfg() 1035 ((cee_cfg->oper_prio_tc[i] & ICE_CEE_PGID_PRIO_1_M) >> in ice_cee_to_dcb_cfg() 1040 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in ice_cee_to_dcb_cfg() 1044 dcbcfg->etscfg.prio_table[i] = cee_cfg->oper_num_tc - 1; in ice_cee_to_dcb_cfg() 1052 dcbcfg->pfc.pfcena = cee_cfg in ice_cee_to_dcb_cfg() 1171 struct ice_aqc_get_cee_dcb_cfg_resp cee_cfg; ice_get_dcb_cfg() local [all...]
10775 struct ice_aqc_get_cee_dcb_cfg_resp cee_cfg = {}; in ice_ets_str_to_tbl() 10815 status = ice_aq_get_cee_dcb_cfg(hw, &cee_cfg, NULL);10564 struct ice_aqc_get_cee_dcb_cfg_resp cee_cfg = {}; ice_sysctl_dump_dcbx_cfg() local