Searched refs:cqe (Results 1 - 25 of 26) sorted by path

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dfirestream.c569 struct FS_QENTRY *cqe; local
579 cqe = bus_to_virt (wp);
580 if (qe != cqe) {
581 fs_dprintk (FS_DEBUG_TXQ, "q mismatch! %p %p\n", qe, cqe);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Duverbs_cmd.c784 cq = file->device->ib_dev->create_cq(file->device->ib_dev, cmd.cqe,
806 resp.cqe = cq->cqe;
860 ret = cq->device->resize_cq(cq, cmd.cqe, &udata);
864 resp.cqe = cq->cqe;
867 &resp, sizeof resp.cqe))
H A Dverbs.c612 void *cq_context, int cqe, int comp_vector)
616 cq = device->create_cq(device, cqe, comp_vector, NULL, NULL);
640 int ib_resize_cq(struct ib_cq *cq, int cqe) argument
643 cq->device->resize_cq(cq, cqe, NULL) : -ENOSYS;
609 ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, int cqe, int comp_vector) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_cq.c295 cq->ibcq.cqe = entries - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/
H A Dcxio_hal.c73 struct t3_cqe *cqe; local
103 * Now rptr is the index for the (last) cqe that was
107 cqe = cq->queue + Q_PTR2IDX(rptr, cq->size_log2);
108 while (!CQ_VLD_ENTRY(rptr, cq->size_log2, cqe)) {
345 struct t3_cqe cqe; local
349 memset(&cqe, 0, sizeof(cqe));
350 cqe.header = cpu_to_be32(V_CQE_STATUS(TPT_ERR_SWFLUSH) |
357 *(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) = cqe;
378 struct t3_cqe cqe; local
415 struct t3_cqe *cqe, *swcqe; local
431 cqe_completes_wr(struct t3_cqe *cqe, struct t3_wq *wq) argument
451 struct t3_cqe *cqe; local
468 struct t3_cqe *cqe; local
1102 cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) argument
[all...]
H A Dcxio_hal.h132 struct t3_cqe cqe; /* flits 2-3 */ member in struct:respQ_msg_t
180 int cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe,
H A Dcxio_wr.h595 struct t3_cqe cqe; member in struct:t3_swsq
642 #define CQ_VLD_ENTRY(ptr,size_log2,cqe) (Q_GENBIT(ptr,size_log2) == \
643 CQE_GENBIT(*cqe))
652 struct t3_cqe *cqe; local
654 cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2));
655 if (CQ_VLD_ENTRY(cq->rptr, cq->size_log2, cqe))
656 return cqe;
662 struct t3_cqe *cqe; local
665 cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2));
666 return cqe;
673 struct t3_cqe *cqe; local
[all...]
H A Diwch_cq.c40 * 1 cqe returned
48 struct t3_cqe cqe, *rd_cqe; local
67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie,
83 wc->vendor_err = CQE_STATUS(cqe);
87 CQE_QPID(cqe), CQE_TYPE(cqe),
88 CQE_OPCODE(cqe), CQE_STATUS(cqe), CQE_WRID_HI(cqe),
89 CQE_WRID_LOW(cqe), (unsigne
[all...]
H A Diwch_ev.c51 qhp = get_qhp(rnicp, CQE_QPID(rsp_msg->cqe));
55 __FUNCTION__, CQE_STATUS(rsp_msg->cqe),
56 CQE_QPID(rsp_msg->cqe));
65 qhp->attr.state, qhp->wq.qpid, CQE_STATUS(rsp_msg->cqe));
72 CQE_QPID(rsp_msg->cqe), CQE_OPCODE(rsp_msg->cqe),
73 CQE_STATUS(rsp_msg->cqe), CQE_TYPE(rsp_msg->cqe),
74 CQE_WRID_HI(rsp_msg->cqe), CQE_WRID_LOW(rsp_msg->cqe));
[all...]
H A Diwch_provider.c191 chp->ibcq.cqe = (1 << chp->cq.size_log2) - 1;
228 static int iwch_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) argument
235 PDBG("%s ib_cq %p cqe %d\n", __FUNCTION__, cq, cqe);
238 if (cqe <= cq->cqe)
242 cqe = roundup_pow_of_two(cqe+1);
243 newcq.size_log2 = ilog2(cqe);
246 if (cqe < Q_COUN
[all...]
H A Diwch_qp.c473 status = CQE_STATUS(rsp_msg->cqe);
474 opcode = CQE_OPCODE(rsp_msg->cqe);
475 rqtype = RQ_TYPE(rsp_msg->cqe);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_cq.c116 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector, argument
134 if (cqe >= 0xFFFFFFFF - 64 - additional_cqe)
182 param.nr_cqe = cqe + additional_cqe;
260 my_cq->ib_cq.cqe = my_cq->nr_of_entries =
347 /* recheck nr_events to assure no cqe has just arrived */
376 int ehca_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) argument
H A Dehca_iverbs.h125 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector,
131 int ehca_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata);
H A Dehca_reqs.c496 struct ehca_cqe *cqe; local
500 cqe = (struct ehca_cqe *)
502 if (!cqe) {
513 if (unlikely(cqe->status & WC_STATUS_PURGE_BIT)) {
514 struct ehca_qp *qp=ehca_cq_get_qp(my_cq, cqe->local_qp_number);
519 "could not find qp -> ignore cqe",
520 my_cq->cq_number, cqe->local_qp_number);
521 ehca_dmp(cqe, 64, "cq_num=%x qp_num=%x",
522 my_cq->cq_number, cqe->local_qp_number);
523 /* ignore this purged cqe */
[all...]
H A Dipz_pt_fn.h133 struct ehca_cqe *cqe = ipz_qeit_get(queue); local
134 u32 cqe_flags = cqe->cqe_flags;
140 return cqe;
145 struct ehca_cqe *cqe = ipz_qeit_get(queue); local
146 u32 cqe_flags = cqe->cqe_flags;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_cq.c62 if (head >= (unsigned) cq->ibcq.cqe) {
63 head = cq->ibcq.cqe;
135 if (tail > (u32) cq->ibcq.cqe)
136 tail = (u32) cq->ibcq.cqe;
162 if (tail >= cq->ibcq.cqe)
281 * ib_create_cq() will initialize cq->ibcq except for cq->ibcq.cqe.
285 cq->ibcq.cqe = entries;
373 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument
381 if (cqe < 1 || cqe > ib_ipath_max_cqe
[all...]
H A Dipath_verbs.h192 struct ib_uverbs_wc queue[1]; /* this is actually size ibcq.cqe + 1 */
742 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dcq.c83 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe); local
85 return (!!(cqe->owner_sr_opcode & MLX4_CQE_OWNER_MASK) ^
86 !!(n & (cq->ibcq.cqe + 1))) ? NULL : cqe;
112 cq->ibcq.cqe = entries - 1;
225 mlx4_buf_free(dev->dev, (cq->cqe + 1) * sizeof (struct mlx4_cqe),
235 static void dump_cqe(void *cqe) argument
237 __be32 *buf = cqe;
245 static void mlx4_ib_handle_error_cqe(struct mlx4_err_cqe *cqe, argument
310 struct mlx4_cqe *cqe; local
481 struct mlx4_cqe *cqe, *dest; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_cq.c174 static inline struct mthca_cqe *cqe_sw(struct mthca_cqe *cqe) argument
176 return MTHCA_CQ_ENTRY_OWNER_HW & cqe->owner ? NULL : cqe;
181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe));
184 static inline void set_cqe_hw(struct mthca_cqe *cqe) argument
186 cqe->owner = MTHCA_CQ_ENTRY_OWNER_HW;
191 __be32 *cqe = cqe_ptr; local
193 (void) cqe; /* avoid warning if mthca_dbg compiled away... */
195 be32_to_cpu(cqe[0]), be32_to_cpu(cqe[
274 is_recv_cqe(struct mthca_cqe *cqe) argument
286 struct mthca_cqe *cqe; local
321 cqe, MTHCA_CQ_ENTRY_SIZE); local
376 mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe) argument
382 handle_error_cqe(struct mthca_dev *dev, struct mthca_cq *cq, struct mthca_qp *qp, int wqe_index, int is_send, struct mthca_err_cqe *cqe, struct ib_wc *entry, int *free_cqe) argument
495 struct mthca_cqe *cqe; local
[all...]
H A Dmthca_dev.h512 void mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe);
H A Dmthca_provider.c779 cq->resize_buf->cqe = entries - 1;
803 if (entries == ibcq->cqe + 1) {
828 cq->resize_buf->cqe);
845 tcqe = cq->ibcq.cqe;
847 cq->ibcq.cqe = cq->resize_buf->cqe;
850 tcqe = cq->resize_buf->cqe;
859 ibcq->cqe = entries - 1;
H A Dmthca_provider.h193 int cqe; member in struct:mthca_cq_resize
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ehea/
H A Dehea_main.c276 static inline int ehea_check_cqe(struct ehea_cqe *cqe, int *rq_num) argument
278 *rq_num = (cqe->type & EHEA_CQE_TYPE_RQ) >> 5;
279 if ((cqe->status & EHEA_CQE_STAT_ERR_MASK) == 0)
281 if (((cqe->status & EHEA_CQE_STAT_ERR_TCP) != 0) &&
282 (cqe->header_length == 0))
288 struct sk_buff *skb, struct ehea_cqe *cqe)
290 int length = cqe->num_bytes_transfered - 4; /*remove CRC */
299 struct ehea_cqe *cqe)
301 int skb_index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, cqe->wr_id);
347 struct ehea_cqe *cqe, in
287 ehea_fill_skb(struct net_device *dev, struct sk_buff *skb, struct ehea_cqe *cqe) argument
297 get_skb_by_index(struct sk_buff **skb_array, int arr_len, struct ehea_cqe *cqe) argument
346 ehea_treat_poll_error(struct ehea_port_res *pr, int rq, struct ehea_cqe *cqe, int *processed_rq2, int *processed_rq3) argument
389 struct ehea_cqe *cqe; local
486 struct ehea_cqe *cqe; local
546 struct ehea_cqe *cqe; local
[all...]
H A Dehea_qmr.h356 struct ehea_cq *ehea_create_cq(struct ehea_adapter *adapter, int cqe,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/
H A Dib_user_verbs.h257 __u32 cqe; member in struct:ib_uverbs_create_cq
266 __u32 cqe; member in struct:ib_uverbs_create_cq_resp
272 __u32 cqe; member in struct:ib_uverbs_resize_cq
277 __u32 cqe; member in struct:ib_uverbs_resize_cq_resp

Completed in 325 milliseconds

12