Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_ethtool_set_per_queue_coalesce() -> mlx5_core_modify_cq_moderation()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 2 cq_period 0-4095
NOCHECK_CALL
USER_DATA 2 cq_period 0-4095
USER_DATA 3 cq_max_count 0-u16max
UNITS 0 dev unit_byte
LOCK2 &priv->state_lock
TYPE_LOCK (struct mlx5e_priv)->state_lock

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_ethtool_set_per_queue_coalesce() -> mlx5_core_modify_cq_moderation()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 2 cq_period 0-4095
NOCHECK_CALL
USER_DATA 2 cq_period 0-4095
USER_DATA 3 cq_max_count 0-u16max
UNITS 0 dev unit_byte
UNITS 3 cq_max_count unit_page
LOCK2 &priv->state_lock
TYPE_LOCK (struct mlx5e_priv)->state_lock

drivers/infiniband/hw/mlx5/cq.c mlx5_ib_modify_cq() -> mlx5_core_modify_cq_moderation()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 1 cq 4096-ptr_max
PARAM_VALUE 2 cq_period 0-4095
DATA_SOURCE 2 cq_period $2
DATA_SOURCE 3 cq_max_count $1
FUZZY_MAX 2 cq_period 4095
HARD_MAX 2 cq_period 4095
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cq_period 0-4095
USER_DATA 3 cq_max_count 0-u16max
UNITS 0 dev unit_byte