Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/fs_core.c mlx5_packet_reformat_alloc() -> (struct mlx5_flow_cmds)->packet_reformat_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 0 ns->cmds 4096-ptr_max
PARAM_VALUE 1 params 4096-ptr_max
PARAM_VALUE 1 params->data 0-ptr_max
PARAM_VALUE 1 params->param_1 0,12
PARAM_VALUE 1 params->size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 namespace 0-1,5,8-9,14,16-17,19,27-28
PARAM_VALUE 3 pkt_reformat 4096-ptr_max
PARAM_VALUE 3 pkt_reformat->ns_type 0-1,5,8-9,14,16-17,19,27-28
BUF_SIZE 3 pkt_reformat 208
DATA_SOURCE 0 ns r mlx5_get_root_namespace
DATA_SOURCE 1 params $1
DATA_SOURCE 2 namespace $2
DATA_SOURCE 3 pkt_reformat r _kzalloc_noprof
CONTAINER 0 -72-1696+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &esw->offloads.encap_tbl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->macsec->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_fs_hws_action_get_pkt_reformat_id() -> (struct mlx5_flow_cmds)->packet_reformat_alloc()

Type Parameter Key Value
PARAM_VALUE 0 ns 4096-ptr_max
PARAM_VALUE 1 params 4861860868567437312
PARAM_VALUE 1 params->param_0 0
PARAM_VALUE 1 params->param_1 0
PARAM_VALUE 3 pkt_reformat 204347499729899520
PARAM_VALUE 3 pkt_reformat->fs_dr_action.dr_action 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.fs_pool 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.fw_reformat_id 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.hws_action 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.cpu 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.ip 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.key 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.lock_type 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.name 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.wait_type_inner 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.dep_map.wait_type_outer 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.first_waiter 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.magic 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.osq.tail.counter 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.owner.counter 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.cpu 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.ip 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.key 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.lock_type 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.name 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.wait_type_inner 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.dep_map.wait_type_outer 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.magic 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.owner 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.owner_cpu 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.raw_lock.locked 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.raw_lock.locked_pending 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.raw_lock.pending 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.raw_lock.tail 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.lock.wait_lock.raw_lock.val.counter 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.mh_data 0
PARAM_VALUE 3 pkt_reformat->fs_hws_action.pr_data 0
PARAM_VALUE 3 pkt_reformat->id 0
PARAM_VALUE 3 pkt_reformat->ns_type 0
PARAM_VALUE 3 pkt_reformat->owner 0
PARAM_VALUE 3 pkt_reformat->reformat_type 0
DATA_SOURCE 0 ns r mlx5_get_root_namespace
RX_PATH
TASK_NOT_RUNNING
LOCK2 lock
HALF_LOCKED2 &fte->node.lock