Searched refs:hpkt_pl (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | switchx2.c | 1168 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sx_event_register() local 1180 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, trap_id); in mlxsw_sx_event_register() 1181 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sx_event_register() 1307 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sx_traps_init() local 1328 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_TRAP_TO_CPU, in mlxsw_sx_traps_init() 1330 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sx_traps_init() 1342 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, in mlxsw_sx_traps_init() 1344 mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sx_traps_init() 1355 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sx_traps_fini() local 1359 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, in mlxsw_sx_traps_fini() [all …]
|
D | spectrum.c | 1427 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sp_event_register() local 1439 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, trap_id); in mlxsw_sp_event_register() 1440 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sp_event_register() 1566 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sp_traps_init() local 1587 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_TRAP_TO_CPU, in mlxsw_sp_traps_init() 1589 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sp_traps_init() 1601 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, in mlxsw_sp_traps_init() 1603 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_sp_traps_init() 1614 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_sp_traps_fini() local 1618 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_FORWARD, in mlxsw_sp_traps_fini() [all …]
|
D | core.c | 505 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_emad_traps_set() local 513 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_TRAP_TO_CPU, in mlxsw_emad_traps_set() 515 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_emad_traps_set() 556 char hpkt_pl[MLXSW_REG_HPKT_LEN]; in mlxsw_emad_fini() local 559 mlxsw_reg_hpkt_pack(hpkt_pl, MLXSW_REG_HPKT_ACTION_DISCARD, in mlxsw_emad_fini() 561 mlxsw_reg_write(mlxsw_core, MLXSW_REG(hpkt), hpkt_pl); in mlxsw_emad_fini()
|