Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
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()
90 new_cfg->etscfg.prio_table[i] = ets->prio_tc[i]; in ice_dcbnl_setets()
91 new_cfg->etsrec.prio_table[i] = ets->reco_prio_tc[i]; in ice_dcbnl_setets()
448 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_tx()
490 new_cfg->etscfg.prio_table[i] = tc; in ice_dcbnl_set_pg_tc_cfg_tx()
573 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_rx()
835 new_cfg->etscfg.prio_table[0] = 0; in ice_dcbnl_setapp()
840 new_cfg->etscfg.prio_table[i] = i; in ice_dcbnl_setapp()
1067 tc_map = BIT(dcbxcfg->etscfg.prio_table[prio]); in ice_dcbnl_set_all()
Dice_dcb.c174 ets_cfg->prio_table[i * 2] = in ice_parse_ieee_ets_common_tlv()
176 ets_cfg->prio_table[i * 2 + 1] = in ice_parse_ieee_ets_common_tlv()
390 etscfg->prio_table[i * 2] = in ice_parse_cee_pgcfg_tlv()
392 etscfg->prio_table[i * 2 + 1] = in ice_parse_cee_pgcfg_tlv()
406 if (etscfg->prio_table[i] == ICE_CEE_PGID_STRICT) in ice_parse_cee_pgcfg_tlv()
793 dcbcfg->etscfg.prio_table[i * 2] = in ice_cee_to_dcb_cfg()
796 dcbcfg->etscfg.prio_table[i * 2 + 1] = in ice_cee_to_dcb_cfg()
804 if (dcbcfg->etscfg.prio_table[i] == ICE_CEE_PGID_STRICT) { in ice_cee_to_dcb_cfg()
806 dcbcfg->etscfg.prio_table[i] = cee_cfg->oper_num_tc - 1; in ice_cee_to_dcb_cfg()
1083 priority0 = ets_cfg->prio_table[i * 2] & 0xF; in ice_add_ieee_ets_common_tlv()
[all …]
Dice_dcb_lib.c117 num_tc |= BIT(dcbcfg->etscfg.prio_table[i]); in ice_dcb_get_num_tc()
495 if (memcmp(&new_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
496 &old_cfg->etscfg.prio_table, in ice_dcb_need_recfg()
497 sizeof(new_cfg->etscfg.prio_table))) { in ice_dcb_need_recfg()
681 static bool ice_dcb_tc_contig(u8 *prio_table) in ice_dcb_tc_contig() argument
689 used_tc |= BIT(prio_table[i]); in ice_dcb_tc_contig()
760 if (!ice_dcb_tc_contig(dcbcfg->etscfg.prio_table)) { in ice_pf_dcb_recfg()
Dice_type.h673 u8 prio_table[ICE_MAX_TRAFFIC_CLASS]; member
Dice_lib.c3174 u8 ets_tc = dcbcfg->etscfg.prio_table[i]; in ice_vsi_cfg_netdev_tc()