Lines Matching refs:cee_cfg

590 			struct i40e_aqc_get_cee_dcb_cfg_v1_resp *cee_cfg,  in i40e_cee_to_dcb_v1_config()  argument
593 u16 status, tlv_status = le16_to_cpu(cee_cfg->tlv_status); in i40e_cee_to_dcb_v1_config()
594 u16 app_prio = le16_to_cpu(cee_cfg->oper_app_prio); in i40e_cee_to_dcb_v1_config()
598 dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; in i40e_cee_to_dcb_v1_config()
604 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()
608 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()
615 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_v1_config()
621 cee_cfg->oper_num_tc - 1; in i40e_cee_to_dcb_v1_config()
629 dcbcfg->pfc.pfcenable = cee_cfg->oper_pfc_en; in i40e_cee_to_dcb_v1_config()
671 struct i40e_aqc_get_cee_dcb_cfg_resp *cee_cfg, in i40e_cee_to_dcb_config() argument
674 u32 status, tlv_status = le32_to_cpu(cee_cfg->tlv_status); in i40e_cee_to_dcb_config()
675 u16 app_prio = le16_to_cpu(cee_cfg->oper_app_prio); in i40e_cee_to_dcb_config()
679 dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; in i40e_cee_to_dcb_config()
685 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_config()
689 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_config()
696 dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; in i40e_cee_to_dcb_config()
702 cee_cfg->oper_num_tc - 1; in i40e_cee_to_dcb_config()
710 dcbcfg->pfc.pfcenable = cee_cfg->oper_pfc_en; in i40e_cee_to_dcb_config()
803 struct i40e_aqc_get_cee_dcb_cfg_resp cee_cfg; in i40e_get_dcb_config() local
826 ret = i40e_aq_get_cee_dcb_config(hw, &cee_cfg, in i40e_get_dcb_config()
827 sizeof(cee_cfg), NULL); in i40e_get_dcb_config()
832 le32_to_cpu(cee_cfg.tlv_status); in i40e_get_dcb_config()
833 i40e_cee_to_dcb_config(&cee_cfg, in i40e_get_dcb_config()