/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/ |
H A D | firestream.c | 569 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 D | uverbs_cmd.c | 784 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 D | verbs.c | 612 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 D | c2_cq.c | 295 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 D | cxio_hal.c | 73 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 D | cxio_hal.h | 132 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 D | cxio_wr.h | 595 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 D | iwch_cq.c | 40 * 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 D | iwch_ev.c | 51 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 D | iwch_provider.c | 191 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 D | iwch_qp.c | 473 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 D | ehca_cq.c | 116 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 D | ehca_iverbs.h | 125 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 D | ehca_reqs.c | 496 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 D | ipz_pt_fn.h | 133 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 D | ipath_cq.c | 62 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 D | ipath_verbs.h | 192 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 D | cq.c | 83 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 D | mthca_cq.c | 174 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 D | mthca_dev.h | 512 void mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe);
|
H A D | mthca_provider.c | 779 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 D | mthca_provider.h | 193 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 D | ehea_main.c | 276 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 D | ehea_qmr.h | 356 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 D | ib_user_verbs.h | 257 __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
|