Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv4_rule_set() -> bcm_sf2_cfp_act_pol_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw_params.num_ports | 1-255 |
| PARAM_VALUE | 1 | rule_index | 0-4294967294 |
| PARAM_VALUE | 3 | port_num | 0-253 |
| PARAM_VALUE | 4 | queue_num | 0-7 |
| PARAM_VALUE | 5 | fwd_map_change | 1 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| CAPPED_DATA | 1 | rule_index | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | src_port | $1 |
| DATA_SOURCE | 3 | port_num | $2 |
| DATA_SOURCE | 4 | queue_num | $3 |
| NOSPEC | 1 | rule_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rule_index | 0-s32max[c] |
| USER_DATA | 3 | port_num | 0-253[c] |
| USER_DATA | 4 | queue_num | 0-7[c] |
| UNITS | 1 | rule_index | unit_array_size |
| HALF_LOCKED2 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv6_rule_set() -> bcm_sf2_cfp_act_pol_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cfp.used | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw_params.num_ports | 1-255 |
| PARAM_VALUE | 1 | rule_index | 0-64 |
| PARAM_VALUE | 3 | port_num | 0-253 |
| PARAM_VALUE | 4 | queue_num | 0-7 |
| PARAM_VALUE | 5 | fwd_map_change | 0 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | src_port | $1 |
| DATA_SOURCE | 3 | port_num | $2 |
| DATA_SOURCE | 4 | queue_num | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | port_num | 0-253[c] |
| USER_DATA | 4 | queue_num | 0-7[c] |
| HALF_LOCKED2 | &priv->cfp.lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv6_rule_set() -> bcm_sf2_cfp_act_pol_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cfp.used | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->hw_params.num_ports | 1-255 |
| PARAM_VALUE | 1 | rule_index | 0-4294967294 |
| PARAM_VALUE | 3 | port_num | 0-253 |
| PARAM_VALUE | 4 | queue_num | 0-7 |
| PARAM_VALUE | 5 | fwd_map_change | 1 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| BUF_SIZE | 0 | priv | 32,232,656 |
| DATA_SOURCE | 0 | priv | $0 |
| DATA_SOURCE | 2 | src_port | $1 |
| DATA_SOURCE | 3 | port_num | $2 |
| DATA_SOURCE | 4 | queue_num | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | port_num | 0-253[c] |
| USER_DATA | 4 | queue_num | 0-7[c] |
| HALF_LOCKED2 | &priv->cfp.lock |