Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/qp.c create_qp_common() -> set_user_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 8574159678370410496
BUF_SIZE 1 cap->sqp 288,u64max
CAPPED_DATA 1 cap->inl_recv_sz 1
DATA_SOURCE 0 hr_dev r to_mdev
DATA_SOURCE 1 cap $4
BIT_INFO 1 cap->mlx4_ib_qp_type 0x0,0x3f000f
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 cap->inl_recv_sz 0-u32max
USER_DATA 1 cap->mlx4_ib_qp_type 2-4,8
USER_DATA 1 cap->sq_no_prefetch 0-255
USER_DATA 2 hr_qp->buf_addr 0-u64max
USER_DATA 2 hr_qp->db_addr 0-u64max
USER_DATA 2 hr_qp->inl_recv_sz 0-u32max
USER_DATA 2 hr_qp->log_sq_bb_count 0-255
USER_DATA 2 hr_qp->log_sq_stride 0-255
USER_DATA 2 hr_qp->reserved 0-255
USER_DATA 2 hr_qp->sq_no_prefetch 0-255

drivers/infiniband/hw/hns/hns_roce_qp.c set_qp_param() -> set_user_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
PARAM_VALUE 3 ucmd 4862858728609337344
PARAM_VALUE 3 (*ucmd).comp_mask 0
DATA_SOURCE 0 hr_dev $0
DATA_SOURCE 2 hr_qp $1
DATA_SOURCE 3 ucmd $4
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
USER_DATA 3 ucmd->buf_addr 0-u64max
USER_DATA 3 ucmd->comp_mask 0-u64max
USER_DATA 3 ucmd->cong_type_flags 0-u64max
USER_DATA 3 ucmd->create_flags 0-u64max
USER_DATA 3 ucmd->db_addr 0-u64max
USER_DATA 3 ucmd->log_sq_bb_count 0-255
USER_DATA 3 ucmd->log_sq_stride 0-255
USER_DATA 3 ucmd->sdb_addr 0-u64max
USER_DATA 3 ucmd->sq_no_prefetch 0-255
USER_DATA 3 *ucmd s64min-s64max
NO_OVERFLOW_SIMPLE 1 cap->max_rdma_ctxs
USER_PTR 3 ucmd->reserved