Lines Matching refs:dcbxcfg

39 	struct i40e_dcbx_config *dcbxcfg;  in i40e_dcbnl_ieee_getets()  local
44 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets()
45 ets->willing = dcbxcfg->etscfg.willing; in i40e_dcbnl_ieee_getets()
47 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets()
48 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
50 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
52 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets()
54 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
56 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
58 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in i40e_dcbnl_ieee_getets()
60 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
77 struct i40e_dcbx_config *dcbxcfg; in i40e_dcbnl_ieee_getpfc() local
84 dcbxcfg = &hw->local_dcbx_config; in i40e_dcbnl_ieee_getpfc()
85 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in i40e_dcbnl_ieee_getpfc()
86 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc()
87 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
883 struct i40e_dcbx_config *dcbxcfg; in i40e_dcbnl_set_all() local
901 dcbxcfg = &hw->local_dcbx_config; in i40e_dcbnl_set_all()
904 for (i = 0; i < dcbxcfg->numapps; i++) { in i40e_dcbnl_set_all()
905 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
906 tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); in i40e_dcbnl_set_all()
910 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
911 sapp.protocol = dcbxcfg->app[i].protocolid; in i40e_dcbnl_set_all()