Lines Matching refs:dcbxcfg

34 	struct ice_dcbx_cfg *dcbxcfg;  in ice_dcbnl_getets()  local
38 dcbxcfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getets()
40 ets->willing = dcbxcfg->etscfg.willing; in ice_dcbnl_getets()
41 ets->ets_cap = dcbxcfg->etscfg.maxtcs; in ice_dcbnl_getets()
42 ets->cbs = dcbxcfg->etscfg.cbs; in ice_dcbnl_getets()
43 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_tx_bw)); in ice_dcbnl_getets()
44 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, sizeof(ets->tc_rx_bw)); in ice_dcbnl_getets()
45 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, sizeof(ets->tc_tsa)); in ice_dcbnl_getets()
46 memcpy(ets->prio_tc, dcbxcfg->etscfg.prio_table, sizeof(ets->prio_tc)); in ice_dcbnl_getets()
47 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in ice_dcbnl_getets()
49 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in ice_dcbnl_getets()
51 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prio_table, in ice_dcbnl_getets()
242 struct ice_dcbx_cfg *dcbxcfg; in ice_dcbnl_getpfc() local
245 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getpfc()
246 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in ice_dcbnl_getpfc()
247 pfc->pfc_en = dcbxcfg->pfc.pfcena; in ice_dcbnl_getpfc()
248 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc()
1041 struct ice_dcbx_cfg *dcbxcfg; in ice_dcbnl_set_all() local
1061 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_set_all()
1063 for (i = 0; i < dcbxcfg->numapps; i++) { in ice_dcbnl_set_all()
1066 prio = dcbxcfg->app[i].priority; in ice_dcbnl_set_all()
1067 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
1071 sapp.selector = dcbxcfg->app[i].selector; in ice_dcbnl_set_all()
1072 sapp.protocol = dcbxcfg->app[i].prot_id; in ice_dcbnl_set_all()