Lines Matching refs:dcbxcfg

38 	struct i40e_dcbx_config *dcbxcfg;  in i40e_dcbnl_ieee_getets()  local
43 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets()
44 ets->willing = dcbxcfg->etscfg.willing; in i40e_dcbnl_ieee_getets()
46 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets()
47 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
49 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, in i40e_dcbnl_ieee_getets()
51 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, in i40e_dcbnl_ieee_getets()
53 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
55 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable, in i40e_dcbnl_ieee_getets()
57 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable, in i40e_dcbnl_ieee_getets()
59 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prioritytable, in i40e_dcbnl_ieee_getets()
76 struct i40e_dcbx_config *dcbxcfg; in i40e_dcbnl_ieee_getpfc() local
83 dcbxcfg = &hw->local_dcbx_config; in i40e_dcbnl_ieee_getpfc()
84 pfc->pfc_cap = dcbxcfg->pfc.pfccap; in i40e_dcbnl_ieee_getpfc()
85 pfc->pfc_en = dcbxcfg->pfc.pfcenable; in i40e_dcbnl_ieee_getpfc()
86 pfc->mbc = dcbxcfg->pfc.mbc; in i40e_dcbnl_ieee_getpfc()
879 struct i40e_dcbx_config *dcbxcfg; in i40e_dcbnl_set_all() local
897 dcbxcfg = &hw->local_dcbx_config; in i40e_dcbnl_set_all()
900 for (i = 0; i < dcbxcfg->numapps; i++) { in i40e_dcbnl_set_all()
901 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
902 tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); in i40e_dcbnl_set_all()
906 sapp.selector = dcbxcfg->app[i].selector; in i40e_dcbnl_set_all()
907 sapp.protocol = dcbxcfg->app[i].protocolid; in i40e_dcbnl_set_all()