Lines Matching refs:prio_tc
53 if (ets->prio_tc[i] >= IEEE_8021QAZ_MAX_TCS) { in mlxsw_sp_port_ets_validate()
68 u8 *prio_tc) in mlxsw_sp_port_pg_prio_map() argument
75 mlxsw_reg_pptb_prio_to_buff_pack(pptb_pl, i, prio_tc[i]); in mlxsw_sp_port_pg_prio_map()
81 static bool mlxsw_sp_ets_has_pg(u8 *prio_tc, u8 pg) in mlxsw_sp_ets_has_pg() argument
86 if (prio_tc[i] == pg) in mlxsw_sp_ets_has_pg()
125 ets->prio_tc, pause_en, in mlxsw_sp_port_headroom_set()
132 err = mlxsw_sp_port_pg_prio_map(mlxsw_sp_port, ets->prio_tc); in mlxsw_sp_port_headroom_set()
138 err = mlxsw_sp_port_pg_destroy(mlxsw_sp_port, my_ets->prio_tc, in mlxsw_sp_port_headroom_set()
139 ets->prio_tc); in mlxsw_sp_port_headroom_set()
146 mlxsw_sp_port_pg_destroy(mlxsw_sp_port, ets->prio_tc, my_ets->prio_tc); in mlxsw_sp_port_headroom_set()
174 ets->prio_tc[i]); in __mlxsw_sp_dcbnl_ieee_setets()
177 ets->prio_tc[i]); in __mlxsw_sp_dcbnl_ieee_setets()
193 mlxsw_sp_port_prio_tc_set(mlxsw_sp_port, i, my_ets->prio_tc[i]); in __mlxsw_sp_dcbnl_ieee_setets()
598 mlxsw_sp_port->dcb.ets->prio_tc, in mlxsw_sp_dcbnl_ieee_setpfc()
618 mlxsw_sp_port->dcb.ets->prio_tc, pause_en, in mlxsw_sp_dcbnl_ieee_setpfc()