Home
last modified time | relevance | path

Searched refs:htgt_pl (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dswitchib.c421 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sib_basic_trap_groups_set() local
423 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sib_basic_trap_groups_set()
427 mlxsw_reg_htgt_swid_set(htgt_pl, MLXSW_PORT_SWID_ALL_SWIDS); in mlxsw_sib_basic_trap_groups_set()
428 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sib_basic_trap_groups_set()
430 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sib_basic_trap_groups_set()
Dswitchx2.c1453 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sx_traps_init() local
1457 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SX2_RX, in mlxsw_sx_traps_init()
1461 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sx_traps_init()
1464 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1468 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SX2_CTRL, in mlxsw_sx_traps_init()
1472 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sx_traps_init()
1475 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1579 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sx_basic_trap_groups_set() local
1581 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sx_basic_trap_groups_set()
1585 mlxsw_reg_htgt_swid_set(htgt_pl, MLXSW_PORT_SWID_ALL_SWIDS); in mlxsw_sx_basic_trap_groups_set()
[all …]
Dspectrum.c3542 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_groups_set() local
3604 mlxsw_reg_htgt_pack(htgt_pl, i, policer_id, priority, tc); in mlxsw_sp_trap_groups_set()
3605 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_groups_set()
3694 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_basic_trap_groups_set() local
3696 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sp_basic_trap_groups_set()
3700 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_basic_trap_groups_set()