Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c, line 3581
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_set_channels() -> mlx4_en_moderation_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cee_config.pfc_state | 0-1 |
| PARAM_VALUE | 0 | priv->counter_index | 0-4294967295 |
| PARAM_VALUE | 0 | priv->dev->rx_cpu_rmap | 0 |
| PARAM_VALUE | 0 | priv->dma_dir | 0-255 |
| PARAM_VALUE | 0 | priv->drop_qp.free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->log_rx_info | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->mdev->dev->qp_table_tree.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->port_up | 0-1 |
| PARAM_VALUE | 0 | priv->prof | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->prof->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_state | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rx_headroom | 0-u16max |
| PARAM_VALUE | 0 | priv->rx_ring_num | 1-s32max |
| PARAM_VALUE | 0 | priv->rx_skb_size | 0-4294967295 |
| PARAM_VALUE | 0 | priv->tx_ring_num | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->tx_ring_num | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->broadcast_id | s64min-s64max[c] |
| HOST_DATA | 0 | priv->tunnel_reg_id | s64min-s64max[c] |
| LOCK2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_set_coalesce() -> mlx4_en_moderation_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rx_frames | 0-65534 |
| PARAM_VALUE | 0 | priv->rx_usecs | 0-65534 |
| PARAM_VALUE | 0 | priv->tx_work_limit | 1-u32max |
| CAPPED_DATA | 0 | priv->tx_usecs | 1 |
| FUZZY_MAX | 0 | priv->rx_frames | 44 |
| FUZZY_MAX | 0 | priv->rx_usecs | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->adaptive_rx_coal | 0-u32max |
| USER_DATA | 0 | priv->pkt_rate_high | 0-u32max |
| USER_DATA | 0 | priv->pkt_rate_low | 0-u32max |
| USER_DATA | 0 | priv->rx_frames | 0-65534 |
| USER_DATA | 0 | priv->rx_usecs | 0-65534 |
| USER_DATA | 0 | priv->rx_usecs_high | 0-u16max |
| USER_DATA | 0 | priv->rx_usecs_low | 0-u16max |
| USER_DATA | 0 | priv->sample_interval | 0-u32max |
| USER_DATA | 0 | priv->tx_frames | 0-u16max |
| USER_DATA | 0 | priv->tx_usecs | 0-u16max[c] |
| USER_DATA | 0 | priv->tx_work_limit | 1-u32max |
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_set_ringparam() -> mlx4_en_moderation_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->counter_index | 0-4294967295 |
| PARAM_VALUE | 0 | priv->dev->rx_cpu_rmap | 0 |
| PARAM_VALUE | 0 | priv->dma_dir | 0-255 |
| PARAM_VALUE | 0 | priv->drop_qp.free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->log_rx_info | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->mdev->dev->qp_table_tree.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->port_up | 0-1 |
| PARAM_VALUE | 0 | priv->prof->rx_ring_size | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_state | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rx_headroom | 0-u16max |
| PARAM_VALUE | 0 | priv->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rx_ring_num | 0-s32max |
| PARAM_VALUE | 0 | priv->rx_skb_size | 0-4294967295 |
| PARAM_VALUE | 0 | priv->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | *priv->tx_ring_num | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->broadcast_id | s64min-s64max[c] |
| HOST_DATA | 0 | priv->tunnel_reg_id | s64min-s64max[c] |
| LOCK2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_reset_config() -> mlx4_en_moderation_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->counter_index | 0-4294967295 |
| PARAM_VALUE | 0 | priv->dev->rx_cpu_rmap | 0 |
| PARAM_VALUE | 0 | priv->dma_dir | 0-255 |
| PARAM_VALUE | 0 | priv->drop_qp.free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->drop_qp.free.wait.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->drop_qp.qpn | s32min-s32max |
| PARAM_VALUE | 0 | priv->drop_qp.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->log_rx_info | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | priv->mdev->dev->qp_table_tree.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | priv->mdev->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | priv->port_up | 0-1 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.done | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.magic | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->free.wait.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->qpn | s32min-s32max |
| PARAM_VALUE | 0 | priv->rss_map.indir_qp->refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | priv->rss_map.indir_state | 0-4294967295 |
| PARAM_VALUE | 0 | priv->rx_headroom | 0-u16max |
| PARAM_VALUE | 0 | priv->rx_ring_num | 0-s32max |
| PARAM_VALUE | 0 | priv->rx_skb_size | 0-4294967295 |
| PARAM_VALUE | 0 | *priv->tx_ring_num | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->broadcast_id | s64min-s64max[c] |
| HOST_DATA | 0 | priv->tunnel_reg_id | s64min-s64max[c] |
| USER_DATA | 0 | priv->drop_qp.qpn | 1-s32max[c] |
| USER_DATA | 0 | priv->rss_map.base_qpn | 0-s32max[c] |
| USER_DATA | 0 | priv->rss_map.indir_qp->qpn | 1-s32max[c] |
| USER_DATA | 0 | priv->rx_skb_size | 22-s32max[c] |
| LOCK2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |