/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/qib/ |
H A D | qib_ud.c | 238 struct qib_swqe *wqe; local 261 wqe = get_swqe_ptr(qp, qp->s_last); 262 qib_send_complete(qp, wqe, IB_WC_WR_FLUSH_ERR); 269 wqe = get_swqe_ptr(qp, qp->s_cur); 277 ah_attr = &to_iah(wqe->wr.wr.ud.ah)->attr; 293 qib_ud_loopback(qp, wqe); 295 qib_send_complete(qp, wqe, IB_WC_SUCCESS); 301 extra_bytes = -wqe->length & 3; 302 nwords = (wqe->length + extra_bytes) >> 2; 306 qp->s_cur_size = wqe [all...] |
H A D | qib_srq.c | 57 struct qib_rwqe *wqe; local 79 wqe = get_rwqe_ptr(&srq->rq, wq->head); 80 wqe->wr_id = wr->wr_id; 81 wqe->num_sge = wr->num_sge; 83 wqe->sg_list[i] = wr->sg_list[i]; 277 struct qib_rwqe *wqe; local 280 wqe = get_rwqe_ptr(&srq->rq, tail); 281 p->wr_id = wqe->wr_id; 282 p->num_sge = wqe->num_sge; 283 for (i = 0; i < wqe [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/ipath/ |
H A D | ipath_srq.c | 57 struct ipath_rwqe *wqe; local 79 wqe = get_rwqe_ptr(&srq->rq, wq->head); 80 wqe->wr_id = wr->wr_id; 81 wqe->num_sge = wr->num_sge; 83 wqe->sg_list[i] = wr->sg_list[i]; 281 struct ipath_rwqe *wqe; local 284 wqe = get_rwqe_ptr(&srq->rq, tail); 285 p->wr_id = wqe->wr_id; 286 p->num_sge = wqe->num_sge; 287 for (i = 0; i < wqe [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/qib/ |
H A D | qib_srq.c | 57 struct qib_rwqe *wqe; local 79 wqe = get_rwqe_ptr(&srq->rq, wq->head); 80 wqe->wr_id = wr->wr_id; 81 wqe->num_sge = wr->num_sge; 83 wqe->sg_list[i] = wr->sg_list[i]; 277 struct qib_rwqe *wqe; local 280 wqe = get_rwqe_ptr(&srq->rq, tail); 281 p->wr_id = wqe->wr_id; 282 p->num_sge = wqe->num_sge; 283 for (i = 0; i < wqe [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/ipath/ |
H A D | ipath_srq.c | 57 struct ipath_rwqe *wqe; local 79 wqe = get_rwqe_ptr(&srq->rq, wq->head); 80 wqe->wr_id = wr->wr_id; 81 wqe->num_sge = wr->num_sge; 83 wqe->sg_list[i] = wr->sg_list[i]; 281 struct ipath_rwqe *wqe; local 284 wqe = get_rwqe_ptr(&srq->rq, tail); 285 p->wr_id = wqe->wr_id; 286 p->num_sge = wqe->num_sge; 287 for (i = 0; i < wqe [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.c | 140 struct t3_modify_qp_wr *wqe; local 141 struct sk_buff *skb = alloc_skb(sizeof(*wqe), GFP_KERNEL); 146 wqe = (struct t3_modify_qp_wr *) skb_put(skb, sizeof(*wqe)); 147 memset(wqe, 0, sizeof(*wqe)); 148 build_fw_riwrh((struct fw_riwrh *) wqe, T3_WR_QP_MOD, 151 wqe->flags = cpu_to_be32(MODQP_WRITE_EC); 153 wqe->sge_cmd = cpu_to_be64(sge_cmd); 516 struct t3_modify_qp_wr *wqe; local 601 __be64 *wqe; local 835 struct t3_rdma_init_wr *wqe; local [all...] |
H A D | cxio_dbg.c | 111 void cxio_dump_wqe(union t3_wr *wqe) argument 113 __be64 *data = (__be64 *)wqe;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.c | 140 struct t3_modify_qp_wr *wqe; local 141 struct sk_buff *skb = alloc_skb(sizeof(*wqe), GFP_KERNEL); 146 wqe = (struct t3_modify_qp_wr *) skb_put(skb, sizeof(*wqe)); 147 memset(wqe, 0, sizeof(*wqe)); 148 build_fw_riwrh((struct fw_riwrh *) wqe, T3_WR_QP_MOD, 151 wqe->flags = cpu_to_be32(MODQP_WRITE_EC); 153 wqe->sge_cmd = cpu_to_be64(sge_cmd); 516 struct t3_modify_qp_wr *wqe; local 601 __be64 *wqe; local 835 struct t3_rdma_init_wr *wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/bfa/ |
H A D | bfa_intr_priv.h | 92 bfa_reqq_winit(struct bfa_reqq_wait_s *wqe, void (*qresume) (void *cbarg), argument 95 wqe->qresume = qresume; 96 wqe->cbarg = cbarg; 103 * bfa_reqq_wait(struct bfa_s *bfa, int reqq, struct bfa_reqq_wait_s *wqe)
|
H A D | bfa_fcxp.c | 204 struct bfa_fcxp_wqe_s *wqe; local 206 bfa_q_deq(&mod->wait_q, &wqe); 207 if (wqe) { 209 wqe->alloc_cbfn(wqe->alloc_cbarg, fcxp); 708 bfa_fcxp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe, argument 715 wqe->alloc_cbfn = alloc_cbfn; 716 wqe->alloc_cbarg = alloc_cbarg; 717 list_add_tail(&wqe->qe, &mod->wait_q); 721 bfa_fcxp_walloc_cancel(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe) argument [all...] |
H A D | bfa_intr.c | 41 struct bfa_reqq_wait_s *wqe; local 52 wqe = (struct bfa_reqq_wait_s *) qe; 53 wqe->qresume(wqe->cbarg);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/bfa/ |
H A D | bfa_intr_priv.h | 92 bfa_reqq_winit(struct bfa_reqq_wait_s *wqe, void (*qresume) (void *cbarg), argument 95 wqe->qresume = qresume; 96 wqe->cbarg = cbarg; 103 * bfa_reqq_wait(struct bfa_s *bfa, int reqq, struct bfa_reqq_wait_s *wqe)
|
H A D | bfa_fcxp.c | 204 struct bfa_fcxp_wqe_s *wqe; local 206 bfa_q_deq(&mod->wait_q, &wqe); 207 if (wqe) { 209 wqe->alloc_cbfn(wqe->alloc_cbarg, fcxp); 708 bfa_fcxp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe, argument 715 wqe->alloc_cbfn = alloc_cbfn; 716 wqe->alloc_cbarg = alloc_cbarg; 717 list_add_tail(&wqe->qe, &mod->wait_q); 721 bfa_fcxp_walloc_cancel(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe) argument [all...] |
H A D | bfa_intr.c | 41 struct bfa_reqq_wait_s *wqe; local 52 wqe = (struct bfa_reqq_wait_s *) qe; 53 wqe->qresume(wqe->cbarg);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1616 void *wqe; local 1651 wqe = get_send_wqe(qp, ind); 1653 qp->sq.last = wqe; 1655 ((struct mthca_next_seg *) wqe)->nda_op = 0; 1656 ((struct mthca_next_seg *) wqe)->ee_nds = 0; 1657 ((struct mthca_next_seg *) wqe)->flags = 1665 ((struct mthca_next_seg *) wqe)->imm = wr->ex.imm_data; 1667 wqe += sizeof (struct mthca_next_seg); 1675 set_raddr_seg(wqe, wr->wr.atomic.remote_addr, 1677 wqe 1832 void *wqe; local 1929 void *wqe; local 2172 void *wqe; local [all...] |
H A D | mthca_cq.c | 126 __be32 wqe; member in struct:mthca_cqe 140 __be32 wqe; member in struct:mthca_err_cqe 312 mthca_free_srq_wqe(srq, be32_to_cpu(cqe->wqe)); 388 be32_to_cpu(cqe->my_qpn), be32_to_cpu(cqe->wqe), 477 cqe->wqe = new_wqe; 511 be32_to_cpu(cqe->wqe)); 540 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) 546 u32 wqe = be32_to_cpu(cqe->wqe); local 548 wqe_index = wqe >> sr 552 s32 wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1616 void *wqe; local 1651 wqe = get_send_wqe(qp, ind); 1653 qp->sq.last = wqe; 1655 ((struct mthca_next_seg *) wqe)->nda_op = 0; 1656 ((struct mthca_next_seg *) wqe)->ee_nds = 0; 1657 ((struct mthca_next_seg *) wqe)->flags = 1665 ((struct mthca_next_seg *) wqe)->imm = wr->ex.imm_data; 1667 wqe += sizeof (struct mthca_next_seg); 1675 set_raddr_seg(wqe, wr->wr.atomic.remote_addr, 1677 wqe 1832 void *wqe; local 1929 void *wqe; local 2172 void *wqe; local [all...] |
H A D | mthca_cq.c | 126 __be32 wqe; member in struct:mthca_cqe 140 __be32 wqe; member in struct:mthca_err_cqe 312 mthca_free_srq_wqe(srq, be32_to_cpu(cqe->wqe)); 388 be32_to_cpu(cqe->my_qpn), be32_to_cpu(cqe->wqe), 477 cqe->wqe = new_wqe; 511 be32_to_cpu(cqe->wqe)); 540 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) 546 u32 wqe = be32_to_cpu(cqe->wqe); local 548 wqe_index = wqe >> sr 552 s32 wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 135 __be32 *wqe; local 150 wqe = buf + (i & ((1 << qp->sq.wqe_shift) - 1)); 151 *wqe = stamp; 157 wqe = buf + i; 158 *wqe = cpu_to_be32(0xffffffff); 167 void *wqe; local 170 ctrl = wqe = get_send_wqe(qp, n & (qp->sq.wqe_cnt - 1)); 174 struct mlx4_wqe_datagram_seg *dgram = wqe + sizeof *ctrl; 183 inl = wqe + s; 1218 void *wqe, unsigne 1217 build_mlx_header(struct mlx4_ib_sqp *sqp, struct ib_send_wr *wr, void *wqe, unsigned *mlx_seg_len) argument 1484 build_lso_seg(struct mlx4_wqe_lso_seg *wqe, struct ib_send_wr *wr, struct mlx4_ib_qp *qp, unsigned *lso_seg_len, __be32 *lso_hdr_sz, __be32 *blh) argument 1524 void *wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 135 __be32 *wqe; local 150 wqe = buf + (i & ((1 << qp->sq.wqe_shift) - 1)); 151 *wqe = stamp; 157 wqe = buf + i; 158 *wqe = cpu_to_be32(0xffffffff); 167 void *wqe; local 170 ctrl = wqe = get_send_wqe(qp, n & (qp->sq.wqe_cnt - 1)); 174 struct mlx4_wqe_datagram_seg *dgram = wqe + sizeof *ctrl; 183 inl = wqe + s; 1218 void *wqe, unsigne 1217 build_mlx_header(struct mlx4_ib_sqp *sqp, struct ib_send_wr *wr, void *wqe, unsigned *mlx_seg_len) argument 1484 build_lso_seg(struct mlx4_wqe_lso_seg *wqe, struct ib_send_wr *wr, struct mlx4_ib_qp *qp, unsigned *lso_seg_len, __be32 *lso_hdr_sz, __be32 *blh) argument 1524 void *wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 215 struct nes_hw_qp_wqe *wqe; local 235 wqe = &nesqp->hwqp.sq_vbase[head]; 236 /* nes_debug(NES_DBG_MR, "processing sq wqe at %p, head = %u.\n", wqe, head); */ 237 nes_fill_init_qp_wqe(wqe, nesqp, head); 239 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_SCRATCH_LOW_IDX, u64temp); 254 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_MISC_IDX, wqe_misc); 255 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MR_IDX, ibmw_bind->mr->lkey); 256 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MW_IDX, ibmw->rkey); 257 set_wqe_32bit_value(wqe 3236 fill_wqe_sg_send(struct nes_hw_qp_wqe *wqe, struct ib_send_wr *ib_wr, u32 uselkey) argument 3270 struct nes_hw_qp_wqe *wqe; local 3548 struct nes_hw_qp_wqe *wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 215 struct nes_hw_qp_wqe *wqe; local 235 wqe = &nesqp->hwqp.sq_vbase[head]; 236 /* nes_debug(NES_DBG_MR, "processing sq wqe at %p, head = %u.\n", wqe, head); */ 237 nes_fill_init_qp_wqe(wqe, nesqp, head); 239 set_wqe_64bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_SCRATCH_LOW_IDX, u64temp); 254 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_MISC_IDX, wqe_misc); 255 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MR_IDX, ibmw_bind->mr->lkey); 256 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MW_IDX, ibmw->rkey); 257 set_wqe_32bit_value(wqe 3236 fill_wqe_sg_send(struct nes_hw_qp_wqe *wqe, struct ib_send_wr *ib_wr, u32 uselkey) argument 3270 struct nes_hw_qp_wqe *wqe; local 3548 struct nes_hw_qp_wqe *wqe; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 107 static inline void init_wr_hdr(union t4_wr *wqe, u16 wrid, argument 110 wqe->send.opcode = (u8)opcode; 111 wqe->send.flags = flags; 112 wqe->send.wrid = wrid; 113 wqe->send.r1[0] = 0; 114 wqe->send.r1[1] = 0; 115 wqe->send.r1[2] = 0; 116 wqe->send.len16 = len16;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 107 static inline void init_wr_hdr(union t4_wr *wqe, u16 wrid, argument 110 wqe->send.opcode = (u8)opcode; 111 wqe->send.flags = flags; 112 wqe->send.wrid = wrid; 113 wqe->send.r1[0] = 0; 114 wqe->send.r1[1] = 0; 115 wqe->send.r1[2] = 0; 116 wqe->send.len16 = len16;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/hw/ehca/ |
H A D | ehca_reqs.c | 85 /* clear wqe header until sglist */ 103 ehca_dmp(wqe_p, 16*(6 + wqe_p->nr_of_data_seg), "recv wqe"); 175 /* clear wqe header until sglist */ 310 ehca_dmp( wqe_p, 16*(6 + wqe_p->nr_of_data_seg), "send wqe"); 679 * ignore this to avoid double cqes of bad wqe 804 struct ehca_wqe *wqe; local 822 wqe = (struct ehca_wqe *)ipz_qeit_calc(ipz_queue, offset); 823 if (!wqe) { 824 ehca_err(cq->device, "Invalid wqe offset=%#llx on " 829 wc->wr_id = replace_wr_id(wqe [all...] |