Home
last modified time | relevance | path

Searched refs:policer_id (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3547 u16 policer_id; in mlxsw_sp_trap_groups_set() local
3557 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()
Dreg.h4859 static inline void mlxsw_reg_htgt_pack(char *payload, u8 group, u8 policer_id, in mlxsw_reg_htgt_pack() argument
4864 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()