Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c619 kfree(srq->swq); in bnxt_qplib_destroy_srq()
646 srq->swq = kcalloc(srq->hwq.max_elements, sizeof(*srq->swq), in bnxt_qplib_create_srq()
648 if (!srq->swq) { in bnxt_qplib_create_srq()
681 srq->swq[idx].next_idx = idx + 1; in bnxt_qplib_create_srq()
682 srq->swq[srq->last_idx].next_idx = -1; in bnxt_qplib_create_srq()
697 kfree(srq->swq); in bnxt_qplib_create_srq()
776 srq->start_idx = srq->swq[next].next_idx; in bnxt_qplib_post_srq_recv()
794 srq->swq[next].wr_id = wqe->wr_id; in bnxt_qplib_post_srq_recv()
824 que->swq = kcalloc(que->max_wqe, sizeof(*que->swq), GFP_KERNEL); in bnxt_qplib_alloc_init_swq()
825 if (!que->swq) in bnxt_qplib_alloc_init_swq()
[all …]
Dqplib_fp.h102 struct bnxt_qplib_swq *swq; member
250 struct bnxt_qplib_swq *swq; member
565 return &que->swq[idx]; in bnxt_qplib_get_swqe()
570 que->swq_start = que->swq[idx].next_idx; in bnxt_qplib_swq_mod_start()
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
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()