Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_vxlan_set_port() -> mlx5_vxlan_add_port()

Type Parameter Key Value
PARAM_VALUE 1 port 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 0[c]
HALF_LOCKED2 &netdev->ethtool->rss_lock
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &utn->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c mlx5_vxlan_create() -> mlx5_vxlan_add_port()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->htable 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->caps.embedded_cpu 0-1
PARAM_VALUE 0 vxlan->mdev->clock 1-u64max
PARAM_VALUE 0 vxlan->mdev->cmd.alloc_size 4096,8191
PARAM_VALUE 0 vxlan->mdev->cmd.allowed_opcode 0
PARAM_VALUE 0 vxlan->mdev->cmd.cmd_alloc_buf 1-ptr_max
PARAM_VALUE 0 vxlan->mdev->cmd.dbg.dbg_root 4096-u64max
PARAM_VALUE 0 vxlan->mdev->cmd.mode 0
PARAM_VALUE 0 vxlan->mdev->cmd.pool 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->cmd.state 1
PARAM_VALUE 0 vxlan->mdev->cmd.vars.cmdif_rev 5
PARAM_VALUE 0 vxlan->mdev->cmd.vars.log_stride 0-12
PARAM_VALUE 0 vxlan->mdev->cmd.vars.log_sz 0-15
PARAM_VALUE 0 vxlan->mdev->cmd.vars.privileged_uids.xa_head 0
PARAM_VALUE 0 vxlan->mdev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 vxlan->mdev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 vxlan->mdev->coredev_type 0
PARAM_VALUE 0 vxlan->mdev->device 0,4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->intf_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vxlan->mdev->intf_state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 vxlan->mdev->intf_state_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 vxlan->mdev->issi 0-1
PARAM_VALUE 0 vxlan->mdev->priv.dbg.cq_debugfs 4096-u64max
PARAM_VALUE 0 vxlan->mdev->priv.dbg.eq_debugfs 4096-u64max
PARAM_VALUE 0 vxlan->mdev->priv.devc 0,4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->priv.eq_table 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->priv.flags 2-u32max
PARAM_VALUE 0 vxlan->mdev->priv.free_list.next 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->priv.health.fatal_error 0
PARAM_VALUE 0 vxlan->mdev->priv.health.fw_fatal_reporter 4096-ptr_max,(-22),(-17),(-12)
PARAM_VALUE 0 vxlan->mdev->priv.health.fw_reporter 4096-ptr_max,(-22),(-17),(-12)
PARAM_VALUE 0 vxlan->mdev->priv.health.health 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->priv.health.health_counter 4096-ptr_max
PARAM_VALUE 0 vxlan->mdev->priv.page_mgt_mode 0-1
PARAM_VALUE 0 vxlan->mdev->profile.log_max_qp 0-31
PARAM_VALUE 0 vxlan->mdev->roce.reserved_gids.count 0
PARAM_VALUE 0 vxlan->mdev->roce.reserved_gids.ida.xa.xa_flags 33554437
PARAM_VALUE 0 vxlan->mdev->roce.reserved_gids.start 0-u16max
PARAM_VALUE 0 vxlan->mdev->state 1
PARAM_VALUE 0 vxlan->mdev->timeouts 4096-ptr_max
PARAM_VALUE 0 vxlan->sync_lock.dep_map->name 0-255
PARAM_VALUE 0 vxlan->sync_lock.first_waiter 0
PARAM_VALUE 0 vxlan->sync_lock.magic 4096-ptr_max
PARAM_VALUE 0 vxlan->sync_lock.osq.tail.counter 0
PARAM_VALUE 0 vxlan->sync_lock.owner.counter 0
PARAM_VALUE 1 port 4789
BUF_SIZE 0 vxlan 288
CAPPED_DATA 0 vxlan->mdev->profile.num_cmd_caches 1
DATA_SOURCE 0 vxlan r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 vxlan->mdev->cmd.vars.log_stride 0-12
HOST_DATA 0 vxlan->mdev->cmd.vars.log_sz 0-15[c]
LOCK2 &mdev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex