Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx5/qp.c mlx5_ib_create_qp() -> check_qp_type()

Type Parameter Key Value
PARAM_VALUE 0 hr_dev 4096-ptr_max
PARAM_VALUE 0 hr_dev->devr.s1 1-u64max
PARAM_VALUE 1 type 4096-ptr_max
PARAM_VALUE 1 type->qp_type 0-4,8-10,255,4096-4097
PARAM_VALUE 2 is_user 3077457771939573760
BUF_SIZE 1 type->qp_context s32min-(-1),1-s32max
BUF_SIZE 1 type->recv_cq (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 1 type->rwq_ind_tbl (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 1 type->send_cq (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 1 type->srq (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680
BUF_SIZE 1 type->xrcd (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680
DATA_SOURCE 0 hr_dev r to_mdev
DATA_SOURCE 1 type $1
STR_LEN 1 type->recv_cq->res.kern_name (-1),7-8
STR_LEN 1 type->send_cq->res.kern_name (-1),7-8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 type->cap.max_inline_data 0-u32max
USER_DATA 1 type->cap.max_recv_sge 0-u32max
USER_DATA 1 type->cap.max_recv_wr 0-u32max
USER_DATA 1 type->cap.max_send_sge 0-u32max
USER_DATA 1 type->cap.max_send_wr 0-u32max
USER_DATA 1 type->create_flags 0-4094
USER_DATA 1 type->qp_type 2-4,8,255
USER_DATA 1 type->source_qpn 0-u32max
NO_OVERFLOW_SIMPLE 1 type->cap.max_rdma_ctxs
NO_OVERFLOW_SIMPLE 1 type->recv_cq->cqe_used
NO_OVERFLOW_SIMPLE 1 type->send_cq->cqe_used

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_create_qp() -> check_qp_type()

Type Parameter Key Value
PARAM_VALUE 0 hr_dev 4096-ptr_max
PARAM_VALUE 1 type 0-4,8-10,255,4096-4097
DATA_SOURCE 0 hr_dev r to_hr_dev
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 type 2-4,8,255