Lines Matching refs:ets
30 * @ets: structure to hold the ETS information
35 struct ieee_ets *ets)
44 ets->willing = dcbxcfg->etscfg.willing;
45 ets->ets_cap = I40E_MAX_TRAFFIC_CLASS;
46 ets->cbs = dcbxcfg->etscfg.cbs;
47 memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable,
48 sizeof(ets->tc_tx_bw));
49 memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable,
50 sizeof(ets->tc_rx_bw));
51 memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable,
52 sizeof(ets->tc_tsa));
53 memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable,
54 sizeof(ets->prio_tc));
55 memcpy(ets->tc_reco_bw, dcbxcfg->etsrec.tcbwtable,
56 sizeof(ets->tc_reco_bw));
57 memcpy(ets->tc_reco_tsa, dcbxcfg->etsrec.tsatable,
58 sizeof(ets->tc_reco_tsa));
59 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prioritytable,
60 sizeof(ets->reco_prio_tc));
101 * @ets: structure to hold the ETS information
106 struct ieee_ets *ets)
121 pf->tmp_cfg.etscfg.willing = ets->willing;
123 pf->tmp_cfg.etscfg.cbs = ets->cbs;
125 pf->tmp_cfg.etscfg.tcbwtable[i] = ets->tc_tx_bw[i];
126 pf->tmp_cfg.etscfg.tsatable[i] = ets->tc_tsa[i];
127 pf->tmp_cfg.etscfg.prioritytable[i] = ets->prio_tc[i];
128 pf->tmp_cfg.etsrec.tcbwtable[i] = ets->tc_reco_bw[i];
129 pf->tmp_cfg.etsrec.tsatable[i] = ets->tc_reco_tsa[i];
130 pf->tmp_cfg.etsrec.prioritytable[i] = ets->reco_prio_tc[i];