Searched refs:policer_id (Results 1 – 2 of 2) sorted by relevance
3547 u16 policer_id; in mlxsw_sp_trap_groups_set() local3557 policer_id = i; in mlxsw_sp_trap_groups_set()3594 policer_id = MLXSW_REG_HTGT_INVALID_POLICER; in mlxsw_sp_trap_groups_set()3600 if (max_cpu_policers <= policer_id && in mlxsw_sp_trap_groups_set()3601 policer_id != MLXSW_REG_HTGT_INVALID_POLICER) in mlxsw_sp_trap_groups_set()3604 mlxsw_reg_htgt_pack(htgt_pl, i, policer_id, priority, tc); in mlxsw_sp_trap_groups_set()
4859 static inline void mlxsw_reg_htgt_pack(char *payload, u8 group, u8 policer_id, in mlxsw_reg_htgt_pack() argument4864 if (policer_id == MLXSW_REG_HTGT_INVALID_POLICER) { in mlxsw_reg_htgt_pack()4870 mlxsw_reg_htgt_pid_set(payload, policer_id); in mlxsw_reg_htgt_pack()