Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/hw/mlx4/qp.c
- drivers/net/ethernet/mellanox/mlx4/en_rx.c
- drivers/net/ethernet/mellanox/mlx4/en_tx.c, line 226
- drivers/net/ethernet/mellanox/mlx4/qp.c
Smatch caller information:
drivers/infiniband/hw/mlx4/qp.c destroy_qp_common() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 2 | cur_state | 1-6,u32max |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/qp.c destroy_qp_rss() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 2 | cur_state | 1-6,u32max |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx4/qp.c mlx4_qp_to_ready() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 4 | context | 4096-ptr_max |
| PARAM_VALUE | 4 | context->msn | 0 |
| PARAM_VALUE | 4 | context->mtu_msgmax | 255 |
| PARAM_VALUE | 4 | context->param3 | 0,536870912,1073741824,1610612736 |
| PARAM_VALUE | 4 | context->params1 | 0 |
| PARAM_VALUE | 4 | context->params2 | 0,8 |
| PARAM_VALUE | 4 | context->pri_path.ackto | 1 |
| PARAM_VALUE | 4 | context->pri_path.feup | 0,64 |
| PARAM_VALUE | 4 | context->pri_path.fl | 0,2 |
| PARAM_VALUE | 4 | context->qkey | 0 |
| PARAM_VALUE | 4 | context->srqn | 0,1879048192 |
| PARAM_VALUE | 4 | context->ssn | 0 |
| PARAM_VALUE | 4 | context->xrcd | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| BUF_SIZE | 4 | context | (-1),248 |
| BUF_SIZE | 4 | context | (-1),248 |
| BUF_SIZE | 7 | qp | (-1),120 |
| BUF_SIZE | 7 | qp | (-1),120 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | mtt | $1 |
| DATA_SOURCE | 4 | context | $2 |
| DATA_SOURCE | 7 | qp | $3 |
| MEM_ZERO | 4 | context | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 7 | qp->qpn | 1-s32max[c] |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_config_rss_steer() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | dev->qp_table_tree.xa_flags | 0,33554432-u32max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->event | 6395916156806569984 |
| PARAM_VALUE | 7 | qp->free.done | 0 |
| PARAM_VALUE | 7 | qp->free.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 7 | qp->free.wait.lock.owner | (-1) |
| PARAM_VALUE | 7 | qp->free.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 7 | qp->free.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->free.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->free.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->free.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->free.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 7 | qp->qpn | s32min-(-1),1-s32max |
| PARAM_VALUE | 7 | qp->refcount.refs.counter | 1 |
| BUF_SIZE | 7 | qp | 120 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 7 | qp | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 7 | qp->qpn | 1-s32max[c] |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_config_rss_steer() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_release_rss_steer() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_release_rss_steer() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_tx.c mlx4_en_deactivate_tx_ring() -> mlx4_qp_modify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 0 |
| PARAM_VALUE | 3 | new_state | 0 |
| PARAM_VALUE | 4 | context | 0 |
| PARAM_VALUE | 5 | optpar | 0 |
| PARAM_VALUE | 6 | sqd_event | 0 |
| PARAM_VALUE | 7 | qp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |