Defined in 3 files as a function:
- drivers/infiniband/hw/hns/hns_roce_qp.c, line 494 (as a function)
- drivers/infiniband/hw/mlx4/qp.c, line 336 (as a function)
- drivers/infiniband/hw/mlx5/qp.c, line 443 (as a function)
Referenced in 3 files:
- drivers/infiniband/hw/hns/hns_roce_qp.c, line 1124
- drivers/infiniband/hw/mlx4/qp.c
- drivers/infiniband/hw/mlx5/qp.c
Smatch caller information:
drivers/infiniband/hw/mlx5/qp.c create_dci() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hr_dev->devr.s1 | 1-u64max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | has_rq->mutex.first_waiter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.owner.counter | 0 |
| PARAM_VALUE | 3 | has_rq->sq_signal_bits | 8 |
| PARAM_VALUE | 3 | has_rq->type | 4098 |
| PARAM_VALUE | 4 | user | 0,4096-ptr_max |
| BUF_SIZE | 4 | user | 56,152 |
| BUF_SIZE | 4 | user | 56,152 |
| DATA_SOURCE | 0 | hr_dev | $0 |
| DATA_SOURCE | 2 | hr_qp | r qp_has_rq |
| DATA_SOURCE | 3 | has_rq | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | user->access_key | 0-u64max[u] |
| USER_DATA | 4 | user->bfreg_index | 0-u32max[u] |
| USER_DATA | 4 | user->buf_addr | 0-u64max[u] |
| USER_DATA | 4 | user->db_addr | 0-u64max[u] |
| USER_DATA | 4 | user->dci_streams.log_num_concurent | 0-255[u] |
| USER_DATA | 4 | user->dci_streams.log_num_errored | 0-255[u] |
| USER_DATA | 4 | user->ece_options | 0-u32max[u] |
| USER_DATA | 4 | user->flags | 0-u32max[u] |
| USER_DATA | 4 | user->reserved | 0-u16max[u] |
| USER_DATA | 4 | user->rq_wqe_count | 0-u32max[u] |
| USER_DATA | 4 | user->rq_wqe_shift | 0-u32max[u] |
| USER_DATA | 4 | user->sq_buf_addr | 0-u64max[u] |
| USER_DATA | 4 | user->sq_wqe_count | 0-u32max[u] |
| USER_DATA | 4 | user->uidx | 0-u32max[u] |
| USER_PTR | 4 | user |
drivers/infiniband/hw/mlx5/qp.c create_kernel_qp() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hr_dev->devr.s1 | 1-u64max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->ibqp.res.no_track | 1 |
| PARAM_VALUE | 3 | has_rq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | has_rq->mutex.first_waiter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.owner.counter | 0 |
| PARAM_VALUE | 3 | has_rq->sq_signal_bits | 8 |
| PARAM_VALUE | 3 | has_rq->type | 4096-4097 |
| PARAM_VALUE | 4 | user | 0 |
| DATA_SOURCE | 0 | hr_dev | $0 |
| DATA_SOURCE | 2 | hr_qp | r qp_has_rq |
| DATA_SOURCE | 3 | has_rq | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx5/qp.c create_user_qp() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hr_dev->devr.s1 | 1-u64max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->ibqp.res.no_track | 1 |
| PARAM_VALUE | 3 | has_rq->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | has_rq->mutex.first_waiter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 3 | has_rq->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 3 | has_rq->mutex.owner.counter | 0 |
| PARAM_VALUE | 3 | has_rq->sq_signal_bits | 8 |
| PARAM_VALUE | 3 | has_rq->type | 4096-4097 |
| PARAM_VALUE | 4 | user | 0,4096-ptr_max |
| BUF_SIZE | 4 | user | 56,152 |
| BUF_SIZE | 4 | user | 56,152 |
| DATA_SOURCE | 0 | hr_dev | $0 |
| DATA_SOURCE | 2 | hr_qp | r qp_has_rq |
| DATA_SOURCE | 3 | has_rq | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | user->access_key | 0-u64max[u] |
| USER_DATA | 4 | user->bfreg_index | 0-u32max[u] |
| USER_DATA | 4 | user->buf_addr | 0-u64max[u] |
| USER_DATA | 4 | user->db_addr | 0-u64max[u] |
| USER_DATA | 4 | user->dci_streams.log_num_concurent | 0-255[u] |
| USER_DATA | 4 | user->dci_streams.log_num_errored | 0-255[u] |
| USER_DATA | 4 | user->ece_options | 0-u32max[u] |
| USER_DATA | 4 | user->flags | 0-u32max[u] |
| USER_DATA | 4 | user->reserved | 0-u16max[u] |
| USER_DATA | 4 | user->rq_wqe_count | 0-u32max[u] |
| USER_DATA | 4 | user->rq_wqe_shift | 0-u32max[u] |
| USER_DATA | 4 | user->sq_buf_addr | 0-u64max[u] |
| USER_DATA | 4 | user->sq_wqe_count | 0-u32max[u] |
| USER_DATA | 4 | user->uidx | 0-u32max[u] |
| USER_PTR | 4 | user |
drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp | 1 |
| PARAM_VALUE | 4 | user | 4096-ptr_max |
| BUF_SIZE | 2 | hr_qp | 0,32 |
| BUF_SIZE | 4 | user->sqp | 288,u64max |
| DATA_SOURCE | 0 | hr_dev | r to_mdev |
| DATA_SOURCE | 2 | hr_qp | $2 |
| DATA_SOURCE | 4 | user | $4 |
| BIT_INFO | 4 | user->mlx4_ib_qp_type | 0x0,0x3f000f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | cap->max_inline_data | 0-u32max |
| USER_DATA | 1 | cap->max_recv_sge | 0-u32max |
| USER_DATA | 1 | cap->max_recv_wr | 0-u32max |
| USER_DATA | 1 | cap->max_send_sge | 0-u32max |
| USER_DATA | 1 | cap->max_send_wr | 0-u32max |
| USER_DATA | 4 | user->inl_recv_sz | 0-u32max |
| USER_DATA | 4 | user->mlx4_ib_qp_type | 2-4,8 |
| USER_DATA | 5 | inl_recv_sz | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | cap->max_rdma_ctxs |
drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp | 0 |
| PARAM_VALUE | 4 | user | 4096-ptr_max |
| PARAM_VALUE | 5 | inl_recv_sz | 0 |
| BUF_SIZE | 2 | hr_qp | 0,32 |
| BUF_SIZE | 4 | user->sqp | 288,u64max |
| DATA_SOURCE | 0 | hr_dev | r to_mdev |
| DATA_SOURCE | 2 | hr_qp | $2 |
| DATA_SOURCE | 4 | user | $4 |
| BIT_INFO | 4 | user->mlx4_ib_qp_type | 0x0,0x3f000f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | cap->max_inline_data | 0-u32max |
| USER_DATA | 1 | cap->max_recv_sge | 0-u32max |
| USER_DATA | 1 | cap->max_recv_wr | 0-u32max |
| USER_DATA | 1 | cap->max_send_sge | 0-u32max |
| USER_DATA | 1 | cap->max_send_wr | 0-u32max |
| USER_DATA | 4 | user->mlx4_ib_qp_type | 2-4,8 |
| NO_OVERFLOW_SIMPLE | 1 | cap->max_rdma_ctxs |
drivers/infiniband/hw/mlx4/qp.c create_rq() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hr_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cap | 3535420031992594480 |
| PARAM_VALUE | 2 | hr_qp | 1 |
| PARAM_VALUE | 3 | has_rq | 1 |
| PARAM_VALUE | 4 | user | 4096-ptr_max |
| BUF_SIZE | 4 | user | 1520 |
| DATA_SOURCE | 0 | hr_dev | r to_mdev |
| DATA_SOURCE | 4 | user | $3 |
| USER_DATA | 1 | cap->max_recv_sge | 0-u32max |
| USER_DATA | 1 | cap->max_recv_wr | 0-u32max |
drivers/infiniband/hw/hns/hns_roce_qp.c set_qp_param() -> set_rq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cap | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp->flush_flag | 0 |
| PARAM_VALUE | 2 | hr_qp->flush_work.hr_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hr_qp->mutex.first_waiter | 0 |
| PARAM_VALUE | 2 | hr_qp->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 2 | hr_qp->mutex.owner.counter | 0 |
| PARAM_VALUE | 2 | hr_qp->sq_signal_bits | 0-1 |
| PARAM_VALUE | 2 | hr_qp->state | 0 |
| PARAM_VALUE | 3 | has_rq | 0-1 |
| DATA_SOURCE | 0 | hr_dev | $0 |
| DATA_SOURCE | 2 | hr_qp | $1 |
| FUZZY_MAX | 2 | hr_qp->sq_signal_bits | 1 |
| HARD_MAX | 2 | hr_qp->sq_signal_bits | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | cap->max_inline_data | 0-u32max |
| USER_DATA | 1 | cap->max_recv_sge | 0-u32max |
| USER_DATA | 1 | cap->max_recv_wr | 0-u32max |
| USER_DATA | 1 | cap->max_send_sge | 0-u32max |
| USER_DATA | 1 | cap->max_send_wr | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | cap->max_rdma_ctxs |