Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/qp.c _mlx4_ib_post_send() -> build_mlx_header()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 0 qp->ibqp.device->driver_def->needs_fn_offset 0,35,40,48,72,88,96,112,136,232,240,264,272,288,296,312,336,344,352,360,368,376,384,400,408,416,432,440,448,480,520,536,544,592,600,608,616,624,632,640,648,656,704,712,720,728,736,752,760,768,792
PARAM_VALUE 0 qp->mlx4_ib_qp_type 0-1
PARAM_VALUE 0 qp->sq.max_post s32min-(-1),1-s32max
PARAM_VALUE 0 qp->sq.wrid 4096-ptr_max
PARAM_VALUE 1 wr 4096-ptr_max
PARAM_VALUE 2 wqe 4096-ptr_max
PARAM_VALUE 3 mlx_seg_len 6950772977223876608
CAPPED_DATA 0 qp->sq.max_post 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &qp->sq.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx4_ib_wq)->lock

drivers/infiniband/hw/mthca/mthca_qp.c mthca_arbel_post_send() -> build_mlx_header()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 1 wr 4096-ptr_max
PARAM_VALUE 1 wr->sq.last 4096-ptr_max
PARAM_VALUE 1 wr->sq.max s32min-(-1),1-s32max
PARAM_VALUE 1 wr->transport 5
PARAM_VALUE 3 mlx_seg_len 4096-ptr_max
DATA_SOURCE 0 qp r to_mdev
DATA_SOURCE 1 wr r to_mqp
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
UNITS 4 mlx unit_byte
LOCK2 flags
LOCK2 1 &wr->sq.lock
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct mthca_wq)->lock

drivers/infiniband/hw/mthca/mthca_qp.c mthca_tavor_post_send() -> build_mlx_header()

Type Parameter Key Value
PARAM_VALUE 0 qp 4096-ptr_max
PARAM_VALUE 1 wr 4096-ptr_max
PARAM_VALUE 1 wr->sq.last 4096-ptr_max
PARAM_VALUE 1 wr->sq.max s32min-(-1),1-s32max
PARAM_VALUE 1 wr->transport 5
PARAM_VALUE 3 mlx_seg_len 4096-ptr_max
DATA_SOURCE 0 qp r to_mdev
DATA_SOURCE 1 wr r to_mqp
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
UNITS 4 mlx unit_byte
LOCK2 flags
LOCK2 1 &wr->sq.lock
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct mthca_wq)->lock