etscfg 53 drivers/net/ethernet/intel/i40e/i40e_client.c u8 tc = dcb_cfg->etscfg.prioritytable[i]; etscfg 39 drivers/net/ethernet/intel/i40e/i40e_dcb.c struct i40e_dcb_ets_config *etscfg; etscfg 52 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg = &dcbcfg->etscfg; etscfg 53 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->willing = (u8)((buf[offset] & I40E_IEEE_ETS_WILLING_MASK) >> etscfg 55 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->cbs = (u8)((buf[offset] & I40E_IEEE_ETS_CBS_MASK) >> etscfg 57 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->maxtcs = (u8)((buf[offset] & I40E_IEEE_ETS_MAXTC_MASK) >> etscfg 74 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->prioritytable[i * 2] = priority; etscfg 77 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->prioritytable[i * 2 + 1] = priority; etscfg 88 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->tcbwtable[i] = buf[offset++]; etscfg 97 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->tsatable[i] = buf[offset++]; etscfg 281 drivers/net/ethernet/intel/i40e/i40e_dcb.c struct i40e_dcb_ets_config *etscfg; etscfg 287 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg = &dcbcfg->etscfg; etscfg 290 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->willing = 1; etscfg 292 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->cbs = 0; etscfg 304 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->prioritytable[i * 2] = priority; etscfg 307 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->prioritytable[i * 2 + 1] = priority; etscfg 318 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->tcbwtable[i] = buf[offset++]; etscfg 321 drivers/net/ethernet/intel/i40e/i40e_dcb.c etscfg->maxtcs = buf[offset]; etscfg 598 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; etscfg 607 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i * 2] = tc; etscfg 611 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i*2 + 1] = tc; etscfg 615 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; etscfg 618 drivers/net/ethernet/intel/i40e/i40e_dcb.c if (dcbcfg->etscfg.prioritytable[i] == I40E_CEE_PGID_STRICT) { etscfg 620 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i] = etscfg 622 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_STRICT; etscfg 624 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_ETS; etscfg 679 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; etscfg 688 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i * 2] = tc; etscfg 692 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i * 2 + 1] = tc; etscfg 696 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; etscfg 699 drivers/net/ethernet/intel/i40e/i40e_dcb.c if (dcbcfg->etscfg.prioritytable[i] == I40E_CEE_PGID_STRICT) { etscfg 701 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.prioritytable[i] = etscfg 703 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_STRICT; etscfg 705 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->etscfg.tsatable[i] = I40E_IEEE_TSA_ETS; etscfg 42 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c ets->willing = dcbxcfg->etscfg.willing; etscfg 43 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c ets->ets_cap = dcbxcfg->etscfg.maxtcs; etscfg 44 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c ets->cbs = dcbxcfg->etscfg.cbs; etscfg 45 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->tc_tx_bw, dcbxcfg->etscfg.tcbwtable, etscfg 47 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->tc_rx_bw, dcbxcfg->etscfg.tcbwtable, etscfg 49 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->tc_tsa, dcbxcfg->etscfg.tsatable, etscfg 51 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->prio_tc, dcbxcfg->etscfg.prioritytable, etscfg 57 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prioritytable, etscfg 168 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c tc_map = BIT(dcbxcfg->etscfg.prioritytable[prio]); etscfg 1003 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cfg->etscfg.willing, cfg->etscfg.cbs, etscfg 1004 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cfg->etscfg.maxtcs); etscfg 1007 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, cfg->etscfg.prioritytable[i], etscfg 1008 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cfg->etscfg.tcbwtable[i], etscfg 1009 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cfg->etscfg.tsatable[i]); etscfg 1032 drivers/net/ethernet/intel/i40e/i40e_debugfs.c r_cfg->etscfg.willing, etscfg 1033 drivers/net/ethernet/intel/i40e/i40e_debugfs.c r_cfg->etscfg.cbs, r_cfg->etscfg.maxtcs); etscfg 1036 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, r_cfg->etscfg.prioritytable[i], etscfg 1037 drivers/net/ethernet/intel/i40e/i40e_debugfs.c r_cfg->etscfg.tcbwtable[i], etscfg 1038 drivers/net/ethernet/intel/i40e/i40e_debugfs.c r_cfg->etscfg.tsatable[i]); etscfg 5023 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.willing = 1; etscfg 5024 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.maxtcs = 0; etscfg 5025 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.tcbwtable[0] = 100; etscfg 5027 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.tcbwtable[i] = 0; etscfg 5029 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.prioritytable[i] = 0; etscfg 5030 drivers/net/ethernet/intel/i40e/i40e_ethtool.c dcbcfg->etscfg.tsatable[0] = I40E_IEEE_TSA_ETS; etscfg 5013 drivers/net/ethernet/intel/i40e/i40e_main.c tc = dcbcfg->etscfg.prioritytable[app.priority]; etscfg 5039 drivers/net/ethernet/intel/i40e/i40e_main.c num_tc |= BIT(dcbcfg->etscfg.prioritytable[i]); etscfg 5320 drivers/net/ethernet/intel/i40e/i40e_main.c u8 ets_tc = dcbcfg->etscfg.prioritytable[i]; etscfg 8519 drivers/net/ethernet/intel/i40e/i40e_main.c if (memcmp(&new_cfg->etscfg, etscfg 8520 drivers/net/ethernet/intel/i40e/i40e_main.c &old_cfg->etscfg, etscfg 8521 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(new_cfg->etscfg))) { etscfg 8523 drivers/net/ethernet/intel/i40e/i40e_main.c if (memcmp(&new_cfg->etscfg.prioritytable, etscfg 8524 drivers/net/ethernet/intel/i40e/i40e_main.c &old_cfg->etscfg.prioritytable, etscfg 8525 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(new_cfg->etscfg.prioritytable))) { etscfg 8530 drivers/net/ethernet/intel/i40e/i40e_main.c if (memcmp(&new_cfg->etscfg.tcbwtable, etscfg 8531 drivers/net/ethernet/intel/i40e/i40e_main.c &old_cfg->etscfg.tcbwtable, etscfg 8532 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(new_cfg->etscfg.tcbwtable))) etscfg 8535 drivers/net/ethernet/intel/i40e/i40e_main.c if (memcmp(&new_cfg->etscfg.tsatable, etscfg 8536 drivers/net/ethernet/intel/i40e/i40e_main.c &old_cfg->etscfg.tsatable, etscfg 8537 drivers/net/ethernet/intel/i40e/i40e_main.c sizeof(new_cfg->etscfg.tsatable))) etscfg 553 drivers/net/ethernet/intel/i40e/i40e_type.h struct i40e_dcb_ets_config etscfg; etscfg 245 drivers/net/ethernet/intel/ice/ice_dcb.c struct ice_dcb_ets_cfg *etscfg; etscfg 255 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg = &dcbcfg->etscfg; etscfg 256 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->willing = ((buf[0] & ICE_IEEE_ETS_WILLING_M) >> etscfg 258 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->cbs = ((buf[0] & ICE_IEEE_ETS_CBS_M) >> ICE_IEEE_ETS_CBS_S); etscfg 259 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->maxtcs = ((buf[0] & ICE_IEEE_ETS_MAXTC_M) >> etscfg 263 drivers/net/ethernet/intel/ice/ice_dcb.c ice_parse_ieee_ets_common_tlv(&buf[1], etscfg); etscfg 412 drivers/net/ethernet/intel/ice/ice_dcb.c struct ice_dcb_ets_cfg *etscfg; etscfg 417 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg = &dcbcfg->etscfg; etscfg 420 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->willing = 1; etscfg 422 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->cbs = 0; etscfg 432 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->prio_table[i * 2] = etscfg 435 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->prio_table[i * 2 + 1] = etscfg 448 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->tcbwtable[i] = buf[offset++]; etscfg 450 drivers/net/ethernet/intel/ice/ice_dcb.c if (etscfg->prio_table[i] == ICE_CEE_PGID_STRICT) etscfg 451 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.tsatable[i] = ICE_IEEE_TSA_STRICT; etscfg 453 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.tsatable[i] = ICE_IEEE_TSA_ETS; etscfg 457 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg->maxtcs = buf[offset]; etscfg 790 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.maxtcs = cee_cfg->oper_num_tc; etscfg 796 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.prio_table[i * 2] = etscfg 799 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.prio_table[i * 2 + 1] = etscfg 805 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.tcbwtable[i] = cee_cfg->oper_tc_bw[i]; etscfg 807 drivers/net/ethernet/intel/ice/ice_dcb.c if (dcbcfg->etscfg.prio_table[i] == ICE_CEE_PGID_STRICT) { etscfg 809 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.prio_table[i] = cee_cfg->oper_num_tc - 1; etscfg 810 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.tsatable[i] = ICE_IEEE_TSA_STRICT; etscfg 812 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->etscfg.tsatable[i] = ICE_IEEE_TSA_ETS; etscfg 1071 drivers/net/ethernet/intel/ice/ice_dcb.c struct ice_dcb_ets_cfg *etscfg; etscfg 1092 drivers/net/ethernet/intel/ice/ice_dcb.c etscfg = &dcbcfg->etscfg; etscfg 1093 drivers/net/ethernet/intel/ice/ice_dcb.c if (etscfg->willing) etscfg 1095 drivers/net/ethernet/intel/ice/ice_dcb.c maxtcwilling |= etscfg->maxtcs & ICE_IEEE_ETS_MAXTC_M; etscfg 1099 drivers/net/ethernet/intel/ice/ice_dcb.c ice_add_ieee_ets_common_tlv(&buf[1], etscfg); etscfg 40 drivers/net/ethernet/intel/ice/ice_dcb_lib.c u8 ets_tc = dcbcfg->etscfg.prio_table[i]; etscfg 79 drivers/net/ethernet/intel/ice/ice_dcb_lib.c num_tc |= BIT(dcbcfg->etscfg.prio_table[i]); etscfg 217 drivers/net/ethernet/intel/ice/ice_dcb_lib.c memcpy(&curr_cfg->etsrec, &curr_cfg->etscfg, sizeof(curr_cfg->etsrec)); etscfg 283 drivers/net/ethernet/intel/ice/ice_dcb_lib.c if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg, etscfg 284 drivers/net/ethernet/intel/ice/ice_dcb_lib.c sizeof(new_cfg->etscfg))) { etscfg 286 drivers/net/ethernet/intel/ice/ice_dcb_lib.c if (memcmp(&new_cfg->etscfg.prio_table, etscfg 287 drivers/net/ethernet/intel/ice/ice_dcb_lib.c &old_cfg->etscfg.prio_table, etscfg 288 drivers/net/ethernet/intel/ice/ice_dcb_lib.c sizeof(new_cfg->etscfg.prio_table))) { etscfg 293 drivers/net/ethernet/intel/ice/ice_dcb_lib.c if (memcmp(&new_cfg->etscfg.tcbwtable, etscfg 294 drivers/net/ethernet/intel/ice/ice_dcb_lib.c &old_cfg->etscfg.tcbwtable, etscfg 295 drivers/net/ethernet/intel/ice/ice_dcb_lib.c sizeof(new_cfg->etscfg.tcbwtable))) etscfg 298 drivers/net/ethernet/intel/ice/ice_dcb_lib.c if (memcmp(&new_cfg->etscfg.tsatable, etscfg 299 drivers/net/ethernet/intel/ice/ice_dcb_lib.c &old_cfg->etscfg.tsatable, etscfg 300 drivers/net/ethernet/intel/ice/ice_dcb_lib.c sizeof(new_cfg->etscfg.tsatable))) etscfg 344 drivers/net/ethernet/intel/ice/ice_dcb_lib.c local_dcbx_cfg->etscfg.willing = 0x0; etscfg 401 drivers/net/ethernet/intel/ice/ice_dcb_lib.c prev_cfg->etscfg.willing = true; etscfg 402 drivers/net/ethernet/intel/ice/ice_dcb_lib.c prev_cfg->etscfg.tcbwtable[0] = ICE_TC_MAX_BW; etscfg 403 drivers/net/ethernet/intel/ice/ice_dcb_lib.c prev_cfg->etscfg.tsatable[0] = ICE_IEEE_TSA_ETS; etscfg 404 drivers/net/ethernet/intel/ice/ice_dcb_lib.c memcpy(&prev_cfg->etsrec, &prev_cfg->etscfg, sizeof(prev_cfg->etsrec)); etscfg 457 drivers/net/ethernet/intel/ice/ice_dcb_lib.c dcbcfg->etscfg.willing = 1; etscfg 458 drivers/net/ethernet/intel/ice/ice_dcb_lib.c dcbcfg->etscfg.maxtcs = hw->func_caps.common_cap.maxtc; etscfg 459 drivers/net/ethernet/intel/ice/ice_dcb_lib.c dcbcfg->etscfg.tcbwtable[0] = 100; etscfg 460 drivers/net/ethernet/intel/ice/ice_dcb_lib.c dcbcfg->etscfg.tsatable[0] = ICE_IEEE_TSA_ETS; etscfg 462 drivers/net/ethernet/intel/ice/ice_dcb_lib.c memcpy(&dcbcfg->etsrec, &dcbcfg->etscfg, etscfg 335 drivers/net/ethernet/intel/ice/ice_type.h struct ice_dcb_ets_cfg etscfg;