Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/intel/i40e/i40e_main.c
- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c, line 4719
Smatch caller information:
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_ndo_set_vf_bw() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 2 | max_tx_rate | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 2 | max_tx_rate | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | max_tx_rate | 0-s32max,18446744071562067968-u64max |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_create_queue_channel() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq.count | 1-u16max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_last_status | 0 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.num_asq_entries | 1-u16max |
| PARAM_VALUE | 0 | vsi->back->pdev->sriov->pos | s32min-s32max |
| PARAM_VALUE | 0 | vsi->cnt_q_avail | 1-u16max |
| PARAM_VALUE | 0 | vsi->mqprio_qopt.max_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->count | 0-u16max |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->offset | 0-u16max |
| PARAM_VALUE | 0 | vsi->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->tc_config.tc_info | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->tc_seid_map | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->type | 0 |
| PARAM_VALUE | 0 | *vsi->bw_ets_max_quanta | 0-255 |
| PARAM_VALUE | 1 | seid | 0 |
| PARAM_VALUE | 2 | max_tx_rate | 1-u64max |
| CAPPED_DATA | 0 | vsi->back->hw.aq.asq.count | 1 |
| CAPPED_DATA | 0 | vsi->back->hw.aq.num_asq_entries | 1 |
| DATA_SOURCE | 0 | vsi | $0 |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.dep_map.key | |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.dep_map.name | |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.magic | |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.wait_lock.dep_map.key | |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.wait_lock.dep_map.name | |
| MEM_ZERO | 0 | vsi->back->hw.aq.asq_mutex.wait_lock.owner | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vsi->back->hw.nvm.eetrack | 0-u32max |
| HOST_DATA | 0 | vsi->back->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |
| HOST_DATA | 0 | vsi->back->hw.nvm.oem_ver | 0-u32max |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_rebuild_channels() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq.count | 1-u16max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_last_status | 0 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.asq_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vsi->back->hw.aq.num_asq_entries | 1-u16max |
| PARAM_VALUE | 0 | vsi->uplink_seid | 0 |
| PARAM_VALUE | 1 | seid | 0 |
| PARAM_VALUE | 2 | max_tx_rate | 1-u64max |
| CAPPED_DATA | 0 | vsi->back->hw.aq.asq.count | 1 |
| CAPPED_DATA | 0 | vsi->back->hw.aq.num_asq_entries | 1 |
| CAPPED_DATA | 0 | &vsi->ch_list | 1 |
| DATA_SOURCE | 0 | vsi | $0 |
| PARAM_COMPARE | 0 | &vsi->ch_list | != $0->ch_list.next |
| HOST_DATA | 0 | vsi->back->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_remove_queue_channels() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->current_rss_size | 0 |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->count | 0-u16max |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->offset | 0-u16max |
| PARAM_VALUE | 0 | vsi->state | 4096-ptr_max |
| PARAM_VALUE | 0 | *vsi->bw_ets_max_quanta | 0-255 |
| PARAM_VALUE | 2 | max_tx_rate | 0 |
| CAPPED_DATA | 0 | &vsi->ch_list | 1 |
| DATA_SOURCE | 0 | vsi | $0 |
| PARAM_COMPARE | 0 | &vsi->ch_list | != $0->ch_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vsi->back->hw.nvm.eetrack | 0-u32max |
| HOST_DATA | 0 | vsi->back->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |
| HOST_DATA | 0 | vsi->back->hw.nvm.oem_ver | 0-u32max |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_setup_tc() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mqprio_qopt.max_rate | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->count | 0-u16max |
| PARAM_VALUE | 0 | vsi->netdev->tc_to_txq->offset | 0-u16max |
| PARAM_VALUE | 0 | vsi->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->tc_config.tc_info | 4096-ptr_max |
| PARAM_VALUE | 0 | *vsi->bw_ets_max_quanta | 0-255 |
| PARAM_VALUE | 2 | max_tx_rate | 1-147573952589676 |
| DATA_SOURCE | 2 | max_tx_rate | r i40e_bw_bytes_to_mbits |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vsi->back->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |
| NO_OVERFLOW_SIMPLE | 0 | vsi->tc_config.numtc | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/i40e/i40e_main.c i40e_vsi_configure_bw_alloc() -> i40e_set_bw_limit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vsi | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->back->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vsi->mqprio_qopt.qopt.hw | 0 |
| PARAM_VALUE | 2 | max_tx_rate | 0 |
| DATA_SOURCE | 0 | vsi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | vsi->back->hw.nvm.hw_semaphore_timeout | 0-4299262262295[c] |