Home
last modified time | relevance | path

Searched refs:htgt_pl (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dswitchib.c436 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sib_basic_trap_groups_set() local
438 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sib_basic_trap_groups_set()
442 mlxsw_reg_htgt_swid_set(htgt_pl, MLXSW_PORT_SWID_ALL_SWIDS); in mlxsw_sib_basic_trap_groups_set()
443 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sib_basic_trap_groups_set()
445 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sib_basic_trap_groups_set()
H A Dswitchx2.c1414 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sx_traps_init() local
1418 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SX2_RX, in mlxsw_sx_traps_init()
1422 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sx_traps_init()
1425 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1429 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SX2_CTRL, in mlxsw_sx_traps_init()
1433 mlxsw_reg_htgt_local_path_rdq_set(htgt_pl, in mlxsw_sx_traps_init()
1436 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sx_traps_init()
1540 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sx_basic_trap_groups_set() local
1542 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sx_basic_trap_groups_set()
1546 mlxsw_reg_htgt_swid_set(htgt_pl, MLXSW_PORT_SWID_ALL_SWID in mlxsw_sx_basic_trap_groups_set()
[all...]
H A Dspectrum.c2281 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_groups_set() local
2317 mlxsw_reg_htgt_pack(htgt_pl, i, policer_id, priority, tc); in mlxsw_sp_trap_groups_set()
2318 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_groups_set()
2463 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_basic_trap_groups_set() local
2466 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_EMAD, in mlxsw_sp_basic_trap_groups_set()
2470 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_basic_trap_groups_set()
2474 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_MFDE, in mlxsw_sp_basic_trap_groups_set()
2478 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_basic_trap_groups_set()
2482 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_MTWE, in mlxsw_sp_basic_trap_groups_set()
2486 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_basic_trap_groups_set()
[all...]
H A Dspectrum_trap.c1076 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_dummy_group_init() local
1078 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SP_DUMMY, in mlxsw_sp_trap_dummy_group_init()
1080 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_dummy_group_init()
1491 char htgt_pl[MLXSW_REG_HTGT_LEN]; in __mlxsw_sp_trap_group_init() local
1512 mlxsw_reg_htgt_pack(htgt_pl, group_item->hw_group_id, hw_policer_id, in __mlxsw_sp_trap_group_init()
1514 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in __mlxsw_sp_trap_group_init()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c1254 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_dummy_group_init() local
1256 mlxsw_reg_htgt_pack(htgt_pl, MLXSW_REG_HTGT_TRAP_GROUP_SP_DUMMY, in mlxsw_sp_trap_dummy_group_init()
1258 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_dummy_group_init()
1668 char htgt_pl[MLXSW_REG_HTGT_LEN]; in __mlxsw_sp_trap_group_init() local
1689 mlxsw_reg_htgt_pack(htgt_pl, group_item->hw_group_id, hw_policer_id, in __mlxsw_sp_trap_group_init()
1691 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in __mlxsw_sp_trap_group_init()
H A Dcore.c244 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_core_trap_groups_set() local
252 mlxsw_reg_htgt_pack(htgt_pl, mlxsw_core_trap_groups[i], in mlxsw_core_trap_groups_set()
256 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_core_trap_groups_set()
H A Dspectrum.c2592 char htgt_pl[MLXSW_REG_HTGT_LEN]; in mlxsw_sp_trap_groups_set() local
2628 mlxsw_reg_htgt_pack(htgt_pl, i, policer_id, priority, tc); in mlxsw_sp_trap_groups_set()
2629 err = mlxsw_reg_write(mlxsw_core, MLXSW_REG(htgt), htgt_pl); in mlxsw_sp_trap_groups_set()

Completed in 24 milliseconds