Home
last modified time | relevance | path

Searched refs:prio_table (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb.c174 ets_cfg->prio_table[i * 2] = in ice_parse_ieee_ets_common_tlv()
177 ets_cfg->prio_table[i * 2 + 1] = in ice_parse_ieee_ets_common_tlv()
399 etscfg->prio_table[i * 2] = in ice_parse_cee_pgcfg_tlv()
402 etscfg->prio_table[i * 2 + 1] = in ice_parse_cee_pgcfg_tlv()
417 if (etscfg->prio_table[i] == ICE_CEE_PGID_STRICT) in ice_parse_cee_pgcfg_tlv()
768 dcbcfg->etscfg.prio_table[i * 2] = in ice_cee_to_dcb_cfg()
771 dcbcfg->etscfg.prio_table[i * 2 + 1] = in ice_cee_to_dcb_cfg()
779 if (dcbcfg->etscfg.prio_table[i] == ICE_CEE_PGID_STRICT) { in ice_cee_to_dcb_cfg()
781 dcbcfg->etscfg.prio_table[i] = cee_cfg->oper_num_tc - 1; in ice_cee_to_dcb_cfg()
1023 priority0 = ets_cfg->prio_table[i * 2] & 0xF; in ice_add_ieee_ets_common_tlv()
[all …]
Dice_dcb_lib.c41 u8 ets_tc = dcbcfg->etscfg.prio_table[i]; in ice_vsi_cfg_netdev_tc()
158 num_tc |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_dcb_get_num_tc()
396 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
397 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
398 sizeof(new_cfg->etscfg.prio_table))) { in ice_dcb_need_recfg()
582 static bool ice_dcb_tc_contig(u8 *prio_table) in ice_dcb_tc_contig() argument
590 used_tc |= BIT(prio_table[i]); in ice_dcb_tc_contig()
659 if (!ice_dcb_tc_contig(dcbcfg->etscfg.prio_table)) { in ice_pf_dcb_recfg()
Dice_dcb_nl.c46 memcpy(ets->prio_tc, dcbxcfg->etscfg.prio_table, sizeof(ets->prio_tc)); in ice_dcbnl_getets()
51 memcpy(ets->reco_prio_tc, dcbxcfg->etscfg.prio_table, in ice_dcbnl_getets()
83 new_cfg->etscfg.prio_table[i] = ets->prio_tc[i]; in ice_dcbnl_setets()
89 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i]; in ice_dcbnl_setets()
418 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_tx()
455 new_cfg->etscfg.prio_table[i] = tc; in ice_dcbnl_set_pg_tc_cfg_tx()
533 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_rx()
895 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
Dice_type.h468 u8 prio_table[ICE_MAX_TRAFFIC_CLASS]; member