Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c _mlx5_modify_rule_destination() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->cmds | 4096-ptr_max |
| PARAM_VALUE | 1 | ft | 4096-ptr_max |
| PARAM_VALUE | 1 | ft->node.root | 4096-ptr_max |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 3 | modify_mask | 4 |
| PARAM_VALUE | 4 | fte | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup | 0,4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | fte->node.lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | ns | r find_root |
| CONTAINER | 0 | -48-1696+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 4 | &fte->node.lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &root->chain_lock | ||
| TYPE_LOCK | (struct fs_node)->lock |
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c add_rule_fte() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->cmds | 4096-ptr_max |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 2 | group->node.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | group->node.root | 4096-ptr_max |
| PARAM_VALUE | 3 | modify_mask | 0-1,4-5,8-9,12-13 |
| PARAM_VALUE | 4 | fte | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | fte->node.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 4 | fte->status | 1-u32max |
| BUF_SIZE | 2 | group | (-1)-s32max |
| BUF_SIZE | 2 | group | (-1)-s32max |
| DATA_SOURCE | 0 | ns | r find_root |
| DATA_SOURCE | 2 | group | $1 |
| DATA_SOURCE | 4 | fte | $0 |
| CONTAINER | 0 | -48-1696+0 | $(-1) |
| BIT_INFO | 4 | fte->status | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | fte->act_dests.flow_context.flow_tag | 0-u32max |
| LOCK2 | 4 | &fte->node.lock | |
| HALF_LOCKED2 | &*ipsec_roce->devcom->comp->sem | ||
| HALF_LOCKED2 | &chains->lock | ||
| HALF_LOCKED2 | &counter->lock | ||
| HALF_LOCKED2 | &ct_priv->control_lock | ||
| HALF_LOCKED2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &esw->fdb_table.offloads.indir->lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &esw->offloads.termtbl_mutex | ||
| HALF_LOCKED2 | &esw->state_lock | ||
| HALF_LOCKED2 | &fs_prot->prot_mutex | ||
| HALF_LOCKED2 | &ldev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->int_ports_lock | ||
| HALF_LOCKED2 | &priv->macsec->lock | ||
| HALF_LOCKED2 | &priv->netdev->nd_net.net->rtnl_mutex | ||
| HALF_LOCKED2 | &rx->ft.mutex | ||
| HALF_LOCKED2 | &stats->lock | ||
| HALF_LOCKED2 | &ttc->mutex | ||
| HALF_LOCKED2 | &tx->ft.mutex | ||
| HALF_LOCKED2 | &tx_fs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c del_hw_fte() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->cmds | 4096-ptr_max |
| PARAM_VALUE | 1 | ft | 4096-ptr_max |
| PARAM_VALUE | 1 | ft->node.root | 4096-ptr_max |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 4 | fte | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.next | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.next->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.next->prev->next | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.prev | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.prev->next | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->dup->children.prev->next->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.children.prev | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.children.prev->next | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.children.prev->next->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->node.refcount.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 4 | &fte->dup->children | 1 |
| DATA_SOURCE | 0 | ns | r find_root |
| CONTAINER | 0 | -48-1696+0 | $(-1) |
| PARAM_COMPARE | 4 | &fte->dup->children | != $4->dup->children.next |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c modify_fte() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->cmds | 4096-ptr_max |
| PARAM_VALUE | 1 | ft | 4096-ptr_max |
| PARAM_VALUE | 1 | ft->node.root | 4096-ptr_max |
| PARAM_VALUE | 2 | group | 4096-ptr_max |
| PARAM_VALUE | 3 | modify_mask | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | fte | 4096-ptr_max |
| PARAM_VALUE | 4 | fte->act_dests.dests_size | 1-u32max |
| PARAM_VALUE | 4 | fte->act_dests.modify_mask | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | fte->node.root | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | r find_root |
| DATA_SOURCE | 4 | fte | $0 |
| CONTAINER | 0 | -48-1696+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chains->lock | ||
| HALF_LOCKED2 | &counter->lock | ||
| HALF_LOCKED2 | &ct_priv->control_lock | ||
| HALF_LOCKED2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &esw->fdb_table.offloads.indir->lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &esw->state_lock | ||
| HALF_LOCKED2 | &ldev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &ppriv->int_ports_lock | ||
| HALF_LOCKED2 | &priv->int_ports_lock | ||
| HALF_LOCKED2 | &priv->macsec->lock | ||
| HALF_LOCKED2 | &rx->ft.mutex | ||
| HALF_LOCKED2 | &stats->lock | ||
| HALF_LOCKED2 | &ttc->mutex | ||
| HALF_LOCKED2 | &tx->ft.mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 4 | &fte->node.lock |
drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_update_fte() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns->cmds | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ft | 4096-ptr_max |
| PARAM_VALUE | 1 | ft->flags | 4-u32max |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *group->mask.match_criteria | 0-4294967295 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | group | (-1),1-s32max |
| BUF_SIZE | 2 | group | (-1),1-s32max |
| BUF_SIZE | 4 | fte | (-1)-s32max |
| BUF_SIZE | 4 | fte | (-1)-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ft | $1 |
| DATA_SOURCE | 2 | group | $2 |
| DATA_SOURCE | 3 | modify_mask | $3 |
| DATA_SOURCE | 4 | fte | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | fte->act_dests.flow_context.flow_tag | 0-u32max |
| NO_OVERFLOW_SIMPLE | 2 | group->ftes_hash.tbl->size | |
| HALF_LOCKED2 | 4 | &fte->node.lock |
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_update_fte() -> (struct mlx5_flow_cmds)->update_fte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns->cmds | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ft | 4096-ptr_max |
| PARAM_VALUE | 1 | ft->flags | 4-u32max |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | group->node.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *group->mask.match_criteria | 0-4294967295 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 4 | fte->node.lock.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | group | (-1),1-s32max |
| BUF_SIZE | 2 | group | (-1),1-s32max |
| BUF_SIZE | 4 | fte | (-1)-s32max |
| BUF_SIZE | 4 | fte | (-1)-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| DATA_SOURCE | 1 | ft | $1 |
| DATA_SOURCE | 2 | group | $2 |
| DATA_SOURCE | 3 | modify_mask | $3 |
| DATA_SOURCE | 4 | fte | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | fte->act_dests.flow_context.flow_tag | 0-u32max |
| NO_OVERFLOW_SIMPLE | 2 | group->ftes_hash.tbl->size | |
| HALF_LOCKED2 | 4 | &fte->node.lock |