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()
232 struct ice_dcbx_cfg *dcbxcfg; in ice_dcbnl_getpfc() local
235 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_getpfc()
236 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in ice_dcbnl_getpfc()
237 pfc->pfc_en = dcbxcfg->pfc.pfcena; in ice_dcbnl_getpfc()
238 pfc->mbc = dcbxcfg->pfc.mbc; in ice_dcbnl_getpfc()
991 struct ice_dcbx_cfg *dcbxcfg; in ice_dcbnl_set_all() local
1011 dcbxcfg = &pi->qos_cfg.local_dcbx_cfg; in ice_dcbnl_set_all()
1013 for (i = 0; i < dcbxcfg->numapps; i++) { in ice_dcbnl_set_all()
1016 prio = dcbxcfg->app[i].priority; in ice_dcbnl_set_all()
1017 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
1021 sapp.selector = dcbxcfg->app[i].selector; in ice_dcbnl_set_all()
1022 sapp.protocol = dcbxcfg->app[i].prot_id; in ice_dcbnl_set_all()