Searched refs:wqe (Results 51 - 75 of 82) sorted by relevance

1234

/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 Dcxio_dbg.c111 void cxio_dump_wqe(union t3_wr *wqe) argument
113 __be64 *data = (__be64 *)wqe;
H A Dcxio_wr.h416 static inline enum t3_wr_opcode fw_riwrh_opcode(struct fw_riwrh *wqe) argument
418 return G_FW_RIWR_OP(be32_to_cpu(wqe->op_seop_flags));
427 static inline void build_fw_riwrh(struct fw_riwrh *wqe, enum t3_wr_opcode op, argument
431 wqe->op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(op) |
435 wqe->gen_tid_len = cpu_to_be32(V_FW_RIWR_GEN(genbit) |
439 ((union t3_wr *)wqe)->genbit.genbit = cpu_to_be64(genbit);
H A Dcxio_hal.h205 void cxio_dump_wqe(union t3_wr *wqe);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/hw/ehca/
H A Dehca_reqs.c85 /* 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...]
H A Dehca_qp.c1067 * set purge bit of bad wqe and subsequent wqes to avoid reentering sqe
1077 struct ehca_wqe *wqe; local
1080 /* get send wqe pointer */
1093 /* convert wqe pointer to vadr */
1099 ehca_err(&shca->ib_device, "failed to get wqe offset qp_num=%x"
1104 /* loop sets wqe's purge bit */
1105 wqe = (struct ehca_wqe *)ipz_qeit_calc(squeue, q_ofs);
1107 while (wqe->optype != 0xff && wqe->wqef != 0xff) {
1109 ehca_dmp(wqe, 3
1396 struct ehca_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/ipath/
H A Dipath_verbs.c332 struct ipath_swqe *wqe; local
391 wqe = get_swqe_ptr(qp, qp->s_head);
392 wqe->wr = *wr;
393 wqe->length = 0;
403 ok = ipath_lkey_ok(qp, &wqe->sg_list[j],
407 wqe->length += length;
410 wqe->wr.num_sge = j;
414 if (wqe->length > 0x80000000U)
416 } else if (wqe->length > to_idev(qp->ibqp.device)->dd->ipath_ibmtu)
418 wqe
484 struct ipath_rwqe *wqe; local
[all...]
H A Dipath_verbs.h642 struct ipath_swqe *wqe; member in struct:ipath_verbs_txreq
852 int ipath_init_sge(struct ipath_qp *qp, struct ipath_rwqe *wqe,
866 void ipath_send_complete(struct ipath_qp *qp, struct ipath_swqe *wqe,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/bfa/
H A Dbfa_lps.c96 bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
191 bfa_reqq_wcancel(&lps->wqe);
220 bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
289 bfa_reqq_wcancel(&lps->wqe);
343 bfa_reqq_winit(&lps->wqe, bfa_lps_reqq_resume, lps);
/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 Dipath_verbs.c332 struct ipath_swqe *wqe; local
391 wqe = get_swqe_ptr(qp, qp->s_head);
392 wqe->wr = *wr;
393 wqe->length = 0;
403 ok = ipath_lkey_ok(qp, &wqe->sg_list[j],
407 wqe->length += length;
410 wqe->wr.num_sge = j;
414 if (wqe->length > 0x80000000U)
416 } else if (wqe->length > to_idev(qp->ibqp.device)->dd->ipath_ibmtu)
418 wqe
484 struct ipath_rwqe *wqe; local
[all...]
/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 Dbfa_lps.c96 bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
191 bfa_reqq_wcancel(&lps->wqe);
220 bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
289 bfa_reqq_wcancel(&lps->wqe);
343 bfa_reqq_winit(&lps->wqe, bfa_lps_reqq_resume, lps);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/lpfc/
H A Dlpfc_sli.c77 * @wqe: The work Queue Entry to put on the Work queue.
79 * This routine will copy the contents of @wqe to the next available entry on
87 lpfc_sli4_wq_put(struct lpfc_queue *q, union lpfc_wqe *wqe) argument
89 union lpfc_wqe *temp_wqe = q->qe[q->host_index].wqe;
98 bf_set(lpfc_wqe_gen_wqec, &wqe->generic, 1);
100 lpfc_sli_pcimem_bcopy(wqe, temp_wqe, q->entry_size);
145 * @wqe: The Mailbox Queue Entry to put on the Work queue.
345 * @wqe: The Receive Queue Entry to put on the Receive queue.
347 * This routine will copy the contents of @wqe to the next available entry on
5924 * @wqe
5935 lpfc_sli4_iocb2wqe(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq, union lpfc_wqe *wqe) argument
6262 union lpfc_wqe wqe; local
12880 union lpfc_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/scsi/lpfc/
H A Dlpfc_sli.c77 * @wqe: The work Queue Entry to put on the Work queue.
79 * This routine will copy the contents of @wqe to the next available entry on
87 lpfc_sli4_wq_put(struct lpfc_queue *q, union lpfc_wqe *wqe) argument
89 union lpfc_wqe *temp_wqe = q->qe[q->host_index].wqe;
98 bf_set(lpfc_wqe_gen_wqec, &wqe->generic, 1);
100 lpfc_sli_pcimem_bcopy(wqe, temp_wqe, q->entry_size);
145 * @wqe: The Mailbox Queue Entry to put on the Work queue.
345 * @wqe: The Receive Queue Entry to put on the Receive queue.
347 * This routine will copy the contents of @wqe to the next available entry on
5924 * @wqe
5935 lpfc_sli4_iocb2wqe(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq, union lpfc_wqe *wqe) argument
6262 union lpfc_wqe wqe; local
12880 union lpfc_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/qib/
H A Dqib_verbs.c331 struct qib_swqe *wqe; local
390 wqe = get_swqe_ptr(qp, qp->s_head);
391 wqe->wr = *wr;
392 wqe->length = 0;
403 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j],
407 wqe->length += length;
410 wqe->wr.num_sge = j;
414 if (wqe->length > 0x80000000U)
416 } else if (wqe->length > (dd_from_ibdev(qp->ibqp.device)->pport +
421 wqe
493 struct qib_rwqe *wqe; local
[all...]
H A Dqib_qp.c411 struct qib_swqe *wqe = get_swqe_ptr(qp, qp->s_last); local
414 for (i = 0; i < wqe->wr.num_sge; i++) {
415 struct qib_sge *sge = &wqe->sg_list[i];
422 atomic_dec(&to_iah(wqe->wr.wr.ud.ah)->refcount);
/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 Dqib_verbs.c331 struct qib_swqe *wqe; local
390 wqe = get_swqe_ptr(qp, qp->s_head);
391 wqe->wr = *wr;
392 wqe->length = 0;
403 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j],
407 wqe->length += length;
410 wqe->wr.num_sge = j;
414 if (wqe->length > 0x80000000U)
416 } else if (wqe->length > (dd_from_ibdev(qp->ibqp.device)->pport +
421 wqe
493 struct qib_rwqe *wqe; local
[all...]
H A Dqib_qp.c411 struct qib_swqe *wqe = get_swqe_ptr(qp, qp->s_last); local
414 for (i = 0; i < wqe->wr.num_sge; i++) {
415 struct qib_sge *sge = &wqe->sg_list[i];
422 atomic_dec(&to_iah(wqe->wr.wr.ud.ah)->refcount);
/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 Dnes.h317 nes_fill_init_qp_wqe(struct nes_hw_qp_wqe *wqe, struct nes_qp *nesqp, u32 head) argument
321 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_CTX_HIGH_IDX,
323 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_CTX_LOW_IDX, value);
H A Dnes_cm.c2746 struct nes_hw_qp_wqe *wqe; local
2821 wqe = &nesqp->hwqp.sq_vbase[0];
2851 set_wqe_64bit_value(wqe->wqe_words,
2854 wqe->wqe_words[NES_IWARP_SQ_WQE_MISC_IDX] =
2857 wqe->wqe_words[NES_IWARP_SQ_WQE_TOTAL_PAYLOAD_IDX] =
2860 set_wqe_64bit_value(wqe->wqe_words,
2863 wqe->wqe_words[NES_IWARP_SQ_WQE_LENGTH0_IDX] =
2866 wqe->wqe_words[NES_IWARP_SQ_WQE_STAG0_IDX] = ibmr->lkey;
3261 struct nes_hw_qp_wqe *wqe; local
3321 wqe
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/bfa/include/
H A Dbfa_svc.h148 struct bfa_reqq_wait_s wqe; /* request wait queue element */ member in struct:bfa_lps_s
252 void bfa_fcxp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe,
255 struct bfa_fcxp_wqe_s *wqe);
/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 Dnes.h317 nes_fill_init_qp_wqe(struct nes_hw_qp_wqe *wqe, struct nes_qp *nesqp, u32 head) argument
321 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_CTX_HIGH_IDX,
323 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_WQE_COMP_CTX_LOW_IDX, value);
H A Dnes_cm.c2746 struct nes_hw_qp_wqe *wqe; local
2821 wqe = &nesqp->hwqp.sq_vbase[0];
2851 set_wqe_64bit_value(wqe->wqe_words,
2854 wqe->wqe_words[NES_IWARP_SQ_WQE_MISC_IDX] =
2857 wqe->wqe_words[NES_IWARP_SQ_WQE_TOTAL_PAYLOAD_IDX] =
2860 set_wqe_64bit_value(wqe->wqe_words,
2863 wqe->wqe_words[NES_IWARP_SQ_WQE_LENGTH0_IDX] =
2866 wqe->wqe_words[NES_IWARP_SQ_WQE_STAG0_IDX] = ibmr->lkey;
3261 struct nes_hw_qp_wqe *wqe; local
3321 wqe
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/bfa/include/
H A Dbfa_svc.h148 struct bfa_reqq_wait_s wqe; /* request wait queue element */ member in struct:bfa_lps_s
252 void bfa_fcxp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe,
255 struct bfa_fcxp_wqe_s *wqe);
/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 Dcxio_wr.h416 static inline enum t3_wr_opcode fw_riwrh_opcode(struct fw_riwrh *wqe) argument
418 return G_FW_RIWR_OP(be32_to_cpu(wqe->op_seop_flags));
427 static inline void build_fw_riwrh(struct fw_riwrh *wqe, enum t3_wr_opcode op, argument
431 wqe->op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(op) |
435 wqe->gen_tid_len = cpu_to_be32(V_FW_RIWR_GEN(genbit) |
439 ((union t3_wr *)wqe)->genbit.genbit = cpu_to_be64(genbit);
H A Dcxio_hal.h205 void cxio_dump_wqe(union t3_wr *wqe);
/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 Dehca_qp.c1067 * set purge bit of bad wqe and subsequent wqes to avoid reentering sqe
1077 struct ehca_wqe *wqe; local
1080 /* get send wqe pointer */
1093 /* convert wqe pointer to vadr */
1099 ehca_err(&shca->ib_device, "failed to get wqe offset qp_num=%x"
1104 /* loop sets wqe's purge bit */
1105 wqe = (struct ehca_wqe *)ipz_qeit_calc(squeue, q_ofs);
1107 while (wqe->optype != 0xff && wqe->wqef != 0xff) {
1109 ehca_dmp(wqe, 3
1396 struct ehca_wqe *wqe; local
[all...]

Completed in 327 milliseconds

1234