Defined in 2 files as a function:
- drivers/infiniband/hw/hns/hns_roce_qp.c, line 748 (as a function)
- drivers/infiniband/hw/mlx4/qp.c, line 381 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> set_kernel_sq_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 | 4096-ptr_max |
| PARAM_VALUE | 2 | hr_qp | 0-4,8-10,65536,131072,262144,524288,1048576,2097152 |
| PARAM_VALUE | 3 | qp | 4096-ptr_max |
| PARAM_VALUE | 3 | qp->rq.wqe_shift | (-1)-31 |
| BUF_SIZE | 3 | qp->sqp | 288,u64max |
| DATA_SOURCE | 0 | hr_dev | r to_mdev |
| DATA_SOURCE | 3 | qp | $4 |
| FUZZY_MAX | 2 | hr_qp | 2097152 |
| BIT_INFO | 2 | hr_qp | 0x0,0x3f000f |
| BIT_INFO | 3 | qp->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_send_sge | 0-u32max |
| USER_DATA | 1 | cap->max_send_wr | 0-u32max |
| USER_DATA | 2 | hr_qp | 2-4,8 |
| USER_DATA | 3 | qp->mlx4_ib_qp_type | 2-4,8 |
| NO_OVERFLOW_SIMPLE | 1 | cap->max_rdma_ctxs |
drivers/infiniband/hw/hns/hns_roce_qp.c set_qp_param() -> set_kernel_sq_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hr_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hr_dev->pci_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->rq.rsv_sge | 1 |
| PARAM_VALUE | 2 | hr_qp->sq_signal_bits | 0-1 |
| PARAM_VALUE | 2 | hr_qp->state | 0 |
| 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_send_sge | 0-u32max |
| USER_DATA | 1 | cap->max_send_wr | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | cap->max_rdma_ctxs |