Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/fs_core.c add_rule_fte() -> (struct mlx5_flow_cmds)->create_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 fte 4096-ptr_max
PARAM_VALUE 3 fte->node.lock.dep_map->name 0-255
PARAM_VALUE 3 fte->node.lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 3 fte->node.lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 3 fte->node.lock.first_waiter->type 0-1
PARAM_VALUE 3 fte->node.lock.osq.tail.counter 0-s32max
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 3 fte $0
CONTAINER 0 -40-1696+0 $(-1)
BIT_INFO 3 fte->status 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 fte->act_dests.flow_context.flow_tag 0-u32max
LOCK2 3 &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/steering/sws/fs_dr.c mlx5_cmd_dr_create_fte() -> (struct mlx5_flow_cmds)->create_fte()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
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 3 fte->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 3 fte->node.lock.first_waiter->type 0-1
BUF_SIZE 2 group (-1),1-s32max
BUF_SIZE 2 group (-1),1-s32max
BUF_SIZE 3 fte (-1)-s32max
BUF_SIZE 3 fte (-1)-s32max
DATA_SOURCE 0 ns $0
DATA_SOURCE 1 ft $1
DATA_SOURCE 2 group $2
DATA_SOURCE 3 fte $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 fte->act_dests.flow_context.flow_tag 0-u32max
NO_OVERFLOW_SIMPLE 2 group->ftes_hash.tbl->size
HALF_LOCKED2 3 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_create_fte() -> (struct mlx5_flow_cmds)->create_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 3 fte->act_dests.action.exe_aso.flow_meter.init_color 0,2
PARAM_VALUE 3 fte->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 3 fte->node.lock.first_waiter->type 0-1
BUF_SIZE 2 group (-1),1-s32max
BUF_SIZE 2 group (-1),1-s32max
BUF_SIZE 3 fte (-1)-s32max
BUF_SIZE 3 fte (-1)-s32max
DATA_SOURCE 0 ns $0
DATA_SOURCE 1 ft $1
DATA_SOURCE 2 group $2
DATA_SOURCE 3 fte $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 fte->act_dests.flow_context.flow_tag 0-u32max
NO_OVERFLOW_SIMPLE 2 group->ftes_hash.tbl->size
HALF_LOCKED2 3 &fte->node.lock