Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_lag_modify_device_vports_speed() -> mlx5_modify_vport_max_tx_speed()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->caps.hca 4096-ptr_max
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 0 mdev->priv.eswitch 1-u64max
PARAM_VALUE 1 opmod 1
PARAM_VALUE 2 vport 0-65534
PARAM_VALUE 3 other_vport 1
DATA_SOURCE 0 mdev $0
DATA_SOURCE 4 max_tx_speed $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ldev->lock
HALF_LOCKED2 &devcom->comp->sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_lag)->lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vport_set_max_tx_speed() -> mlx5_modify_vport_max_tx_speed()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->caps.hca 4096-ptr_max
PARAM_VALUE 0 mdev->clock->ptp 0,4096-u64max
PARAM_VALUE 0 mdev->cmd.pool->size 0-4294967295
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->mlx5e_res.tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 mdev->mlx5e_res.tracker->dead 0-1
PARAM_VALUE 0 mdev->mlx5e_res.tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 mdev->priv.eswitch->fdb_table.offloads.esw_chains_priv->flags 0-4294967295
PARAM_VALUE 0 mdev->priv.fc_stats->bulk_query_alloc_failed 0-1
PARAM_VALUE 0 mdev->priv.fc_stats->bulk_query_len s32min-s32max
PARAM_VALUE 0 mdev->priv.fc_stats->counters.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->priv.fc_stats->next_bulk_query_alloc 0-s64max
PARAM_VALUE 0 mdev->priv.lag->bond_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mdev->priv.lag->bond_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mdev->priv.lag->bond_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mdev->priv.lag->lag_mp.fib.priority 0-4294967294
PARAM_VALUE 0 mdev->priv.lag->port_sel.outer.ttc->groups 0-s64max
PARAM_VALUE 0 mdev->priv.mpfs->enabled 0-1
PARAM_VALUE 0 mdev->priv.mpfs->size 0-4294967295
PARAM_VALUE 0 mdev->priv.roce.fg->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mdev->priv.roce.fg->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 mdev->priv.roce.ft->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mdev->priv.roce.ft->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 mdev->rsc_dump->number_of_menu_items 0-4294967295
PARAM_VALUE 0 mdev->rsc_dump->pdn 0-4294967295
PARAM_VALUE 0 *mdev->priv.lag->lag_mpesw.pf_metadata 0-4294967295
PARAM_VALUE 1 opmod 1
PARAM_VALUE 3 other_vport 1
CAPPED_DATA 0 mdev 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mdev->cmd.pool->allocation
LOCK2 &esw->offloads.reps_lock
LOCK2 &esw->state_lock
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_esw_offload)->reps_lock
TYPE_LOCK (struct mlx5_eswitch)->state_lock