Home
last modified time | relevance | path

Searched refs:wrid (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Dcxio_wr.h127 #define WRID(wrid) (wrid.id1) argument
128 #define WRID_GEN(wrid) (wrid.id0.wr_gen) argument
129 #define WRID_IDX(wrid) (wrid.id0.wr_idx) argument
130 #define WRID_LO(wrid) (wrid.id0.wr_lo) argument
169 union t3_wrid wrid; /* 1 */ member
184 union t3_wrid wrid; /* 1 */ member
224 union t3_wrid wrid; /* 1 */ member
231 union t3_wrid wrid; /* 1 */ member
243 union t3_wrid wrid; /* 1 */ member
256 union t3_wrid wrid; /* 1 */ member
[all …]
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_res.h52 u64 wrid = 0; in enic_queue_wq_desc_ex() local
66 (u8)cq_entry, compressed_send, wrid); in enic_queue_wq_desc_ex()
127 u64 wrid = 0; in enic_queue_rq_desc() local
135 vnic_rq_post(rq, os_buf, os_buf_index, dma_addr, len, wrid); in enic_queue_rq_desc()
Dvnic_rq.h122 uint64_t wrid) in vnic_rq_post() argument
130 buf->wr_id = wrid; in vnic_rq_post()
Dvnic_wq.h135 uint8_t compressed_send, uint64_t wrid) in vnic_wq_post() argument
146 buf->wr_id = wrid; in vnic_wq_post()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dt4fw_ri_api.h548 __u16 wrid; member
576 __u16 wrid; member
601 __u16 wrid; member
632 __u16 wrid; member
649 __u16 wrid; member
658 __u16 wrid; member
696 __u16 wrid; member
733 __u16 wrid; member
745 __u16 wrid; member
Dt4.h119 static inline void init_wr_hdr(union t4_wr *wqe, u16 wrid, in init_wr_hdr() argument
124 wqe->send.wrid = wrid; in init_wr_hdr()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dsrq.c166 srq->wrid = kvmalloc_array(srq->msrq.max, in mlx4_ib_create_srq()
168 if (!srq->wrid) { in mlx4_ib_create_srq()
201 kvfree(srq->wrid); in mlx4_ib_create_srq()
278 kvfree(msrq->wrid); in mlx4_ib_destroy_srq()
333 srq->wrid[srq->head] = wr->wr_id; in mlx4_ib_post_srq_recv()
Dcq.c626 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_qp_sw_comp()
742 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx4_ib_poll_one()
747 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
752 wc->wr_id = srq->wrid[wqe_ctr]; in mlx4_ib_poll_one()
757 wc->wr_id = wq->wrid[tail]; in mlx4_ib_poll_one()
Dmlx4_ib.h168 u64 *wrid; member
359 u64 *wrid; member
Dqp.c1183 qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt, in create_qp_common()
1185 qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt, in create_qp_common()
1187 if (!qp->sq.wrid || !qp->rq.wrid) { in create_qp_common()
1279 kvfree(qp->sq.wrid); in create_qp_common()
1280 kvfree(qp->rq.wrid); in create_qp_common()
1501 kvfree(qp->sq.wrid); in destroy_qp_common()
1502 kvfree(qp->rq.wrid); in destroy_qp_common()
3592 qp->sq.wrid[(qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1)] = wr->wr_id; in _mlx4_ib_post_send()
3912 qp->rq.wrid[ind] = wr->wr_id; in _mlx4_ib_post_recv()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_srq.c151 kfree(srq->wrid); in mthca_free_srq_buf()
165 srq->wrid = kmalloc_array(srq->max, sizeof(u64), GFP_KERNEL); in mthca_alloc_srq_buf()
166 if (!srq->wrid) in mthca_alloc_srq_buf()
173 kfree(srq->wrid); in mthca_alloc_srq_buf()
540 srq->wrid[ind] = wr->wr_id; in mthca_tavor_post_srq_recv()
623 srq->wrid[ind] = wr->wr_id; in mthca_arbel_post_srq_recv()
Dmthca_provider.h238 u64 *wrid; member
281 u64 *wrid; member
Dmthca_qp.c1063 qp->wrid = kmalloc_array(qp->rq.max + qp->sq.max, sizeof(u64), in mthca_alloc_wqe_buf()
1065 if (!qp->wrid) in mthca_alloc_wqe_buf()
1076 kfree(qp->wrid); in mthca_alloc_wqe_buf()
1086 kfree(qp->wrid); in mthca_free_wqe_buf()
1772 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_tavor_post_send()
1883 qp->wrid[ind] = wr->wr_id; in mthca_tavor_post_receive()
2102 qp->wrid[ind + qp->rq.max] = wr->wr_id; in mthca_arbel_post_send()
2209 qp->wrid[ind] = wr->wr_id; in mthca_arbel_post_receive()
Dmthca_cq.c537 entry->wr_id = (*cur_qp)->wrid[wqe_index + in mthca_poll_one()
544 entry->wr_id = srq->wrid[wqe_index]; in mthca_poll_one()
558 entry->wr_id = (*cur_qp)->wrid[wqe_index]; in mthca_poll_one()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_srq.c311 srq->wrid = kvmalloc_array(srq->max, sizeof(u64), GFP_KERNEL); in create_kernel_srq()
312 if (!srq->wrid) { in create_kernel_srq()
348 kvfree(srq->wrid); in destroy_kernel_srq()
451 kvfree(srq->wrid); in hns_roce_destroy_srq()
Dhns_roce_qp.c877 hr_qp->sq.wrid = kcalloc(hr_qp->sq.wqe_cnt, sizeof(u64), in hns_roce_create_qp_common()
879 if (ZERO_OR_NULL_PTR(hr_qp->sq.wrid)) { in hns_roce_create_qp_common()
885 hr_qp->rq.wrid = kcalloc(hr_qp->rq.wqe_cnt, sizeof(u64), in hns_roce_create_qp_common()
887 if (ZERO_OR_NULL_PTR(hr_qp->rq.wrid)) { in hns_roce_create_qp_common()
977 kfree(hr_qp->rq.wrid); in hns_roce_create_qp_common()
990 kfree(hr_qp->sq.wrid); in hns_roce_create_qp_common()
Dhns_roce_device.h426 u64 *wrid; /* Work request ID */ member
535 u64 *wrid; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dsrq.c172 srq->wrid = kvmalloc_array(srq->msrq.max, sizeof(u64), GFP_KERNEL); in create_srq_kernel()
173 if (!srq->wrid) { in create_srq_kernel()
212 kvfree(srq->wrid); in destroy_srq_kernel()
454 srq->wrid[srq->head] = wr->wr_id; in mlx5_ib_post_srq_recv()
Dcq.c188 wc->wr_id = srq->wrid[wqe_ctr]; in handle_responder()
195 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in handle_responder()
386 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in sw_comp()
479 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
505 wc->wr_id = wq->wrid[idx]; in mlx5_poll_one()
513 wc->wr_id = srq->wrid[wqe_ctr]; in mlx5_poll_one()
517 wc->wr_id = wq->wrid[wq->tail & (wq->wqe_cnt - 1)]; in mlx5_poll_one()
Dqp.c1122 qp->sq.wrid = kvmalloc_array(qp->sq.wqe_cnt, in create_kernel_qp()
1123 sizeof(*qp->sq.wrid), GFP_KERNEL); in create_kernel_qp()
1126 qp->rq.wrid = kvmalloc_array(qp->rq.wqe_cnt, in create_kernel_qp()
1127 sizeof(*qp->rq.wrid), GFP_KERNEL); in create_kernel_qp()
1133 if (!qp->sq.wrid || !qp->sq.wr_data || !qp->rq.wrid || in create_kernel_qp()
1145 kvfree(qp->sq.wrid); in create_kernel_qp()
1147 kvfree(qp->rq.wrid); in create_kernel_qp()
1162 kvfree(qp->sq.wrid); in destroy_qp_kernel()
1164 kvfree(qp->rq.wrid); in destroy_qp_kernel()
4948 qp->sq.wrid[idx] = wr_id; in finish_wqe()
[all …]
Dmlx5_ib.h269 u64 *wrid; member
538 u64 *wrid; member
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dbnxt_re.h101 u64 wrid; member
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_user.h326 u64 wrid; member
Di40iw_uk.c193 qp->sq_wrtrk_array[*wqe_idx].wrid = wr_id; in i40iw_qp_get_next_send_wqe()
837 info->wr_id = qp->sq_wrtrk_array[wqe_idx].wrid; in i40iw_cq_poll_completion()
859 info->wr_id = qp->sq_wrtrk_array[tail].wrid; in i40iw_cq_poll_completion()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma.h396 uint64_t wrid; member

12