Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_trap_register() -> mlxsw_reg_hpkt_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 8195010293798289408 |
| PARAM_VALUE | 1 | action | 0-3,6,15 |
| PARAM_VALUE | 2 | trap_id | 3,5,8-9,12,16-19,40-41,45-46,48-52,56,58-59,61,64,80-85,88-89,92,95-105,111-113,121-122,128,136-146,177,184,208-209,214-215,282,304-305,320,328-330,336-338,352-357,359-362,364-365,376-377,379-380,392,400,432-s32max |
| PARAM_VALUE | 3 | trap_group | 0-32 |
| BUF_SIZE | 0 | payload | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_trap_state_set() -> mlxsw_reg_hpkt_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 7363175868467425280 |
| PARAM_VALUE | 1 | action | 0-3,6,15 |
| PARAM_VALUE | 2 | trap_id | 3,5,8-9,12,16-19,40-41,45-46,48-52,56,58-59,61,64,80-85,88-89 |
| PARAM_VALUE | 3 | trap_group | 0-32 |
| BUF_SIZE | 0 | payload | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_trap_unregister() -> mlxsw_reg_hpkt_pack()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 2208939757684465664 |
| PARAM_VALUE | 1 | action | 0-1,3,15 |
| PARAM_VALUE | 2 | trap_id | 3,5,8-9,12,16-19,40-41,45-46,48-52,56,58-59,61,64,80-85,88-89,92,95-105,111-113,121-122,128,136-146,177,184,208-209,214-215,282,304-305,320,328-330,336-338,352-357,359-362,364-365,376-377,379-380,392,400,432-s32max |
| PARAM_VALUE | 3 | trap_group | 0,2-14,16-29,31-32 |
| BUF_SIZE | 0 | payload | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |