Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/intel/ice/ice_main.c ice_set_tx_maxrate() -> ice_cfg_q_bw_lmt()

Type Parameter Key Value
PARAM_VALUE 4 rl_type 2
PARAM_VALUE 5 bw 1000-100000000
DATA_SOURCE 2 tc r ice_dcb_get_tc
CAPABLE 0 12
TASK_NOT_RUNNING
USER_DATA 5 bw 1000-100000000[c]
LOCK2 &of->mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/intel/ice/virt/queues.c ice_vf_cfg_qs_bw() -> ice_cfg_q_bw_lmt()

Type Parameter Key Value
PARAM_VALUE 4 rl_type 2
PARAM_VALUE 5 bw 1-u32max
UNITS 3 q_handle unit_array_size
LOCK2 &pool->lock
LOCK2 &vf->cfg_lock
TYPE_LOCK (struct ice_vf)->cfg_lock

drivers/net/ethernet/intel/ice/virt/queues.c ice_vf_cfg_qs_bw() -> ice_cfg_q_bw_lmt()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 4 rl_type 1
PARAM_VALUE 5 bw 1-u32max
UNITS 3 q_handle unit_array_size
LOCK2 &pool->lock
LOCK2 &vf->cfg_lock
TYPE_LOCK (struct ice_vf)->cfg_lock