Home
last modified time | relevance | path

Searched refs:swq (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c616 kfree(srq->swq); in bnxt_qplib_destroy_srq()
671 srq->swq = kcalloc(srq->hwq.max_elements, sizeof(*srq->swq), in bnxt_qplib_create_srq()
673 if (!srq->swq) { in bnxt_qplib_create_srq()
678 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq()
679 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq()
695 kfree(srq->swq); in bnxt_qplib_create_srq()
770 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv()
787 srq->swq[next].wr_id = wqe->wr_id; in bnxt_qplib_post_srq_recv()
810 que->swq = kcalloc(que->max_sw_wqe, sizeof(*que->swq), GFP_KERNEL); in bnxt_qplib_alloc_init_swq()
811 if (!que->swq) in bnxt_qplib_alloc_init_swq()
[all …]
H A Dqplib_fp.h102 struct bnxt_qplib_swq *swq; member
249 struct bnxt_qplib_swq *swq; member
581 return &que->swq[idx]; in bnxt_qplib_get_swqe()
586 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c1034 struct rvt_swqe *swq = NULL; in rvt_create_qp() local
1078 sz = struct_size(swq, sg_list, init_attr->cap.max_send_sge); in rvt_create_qp()
1079 swq = vzalloc_node(array_size(sz, sqsize), rdi->dparms.node); in rvt_create_qp()
1080 if (!swq) in rvt_create_qp()
1152 qp->s_wq = swq; in rvt_create_qp()
1271 vfree(swq); in rvt_create_qp()