/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | udaddy.c | 128 int cqe, ret; local 137 cqe = message_count ? message_count * 2 : 2; 138 node->cq = ibv_create_cq(node->cma_id->verbs, cqe, node, NULL, 0);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_tx.c | 508 struct mlx5_cqe64 *cqe; local 513 cqe = mlx5e_get_cqe(&sq->cq); 514 if (!cqe)
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_hw_queues.c | 1691 * @param cqe Completion queue entry. 1697 ocs_hw_rqpair_process_rq(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument 1707 rq_status = sli_fc_rqe_rqid_and_index(&hw->sli, cqe, &rq_id, &index); 1759 sli_fc_rqe_length(&hw->sli, cqe, &h_len, &p_len); 1762 seq->fcfi = sli_fc_rqe_fcfi(&hw->sli, cqe); 1791 * @param cqe Completion queue entry. 1797 ocs_hw_rqpair_process_auto_xfr_rdy_cmd(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument 1800 sli4_fc_optimized_write_cmd_cqe_t *opt_wr = (sli4_fc_optimized_write_cmd_cqe_t*)cqe; 1814 rq_status = sli_fc_rqe_rqid_and_index(&hw->sli, cqe, &rq_id, &index); 1866 sli_fc_rqe_length(&hw->sli, cqe, 1962 ocs_hw_rqpair_process_auto_xfr_rdy_data(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument [all...] |
H A D | ocs_hw.c | 120 static void ocs_hw_wq_process_abort(void *arg, uint8_t *cqe, int32_t status); 4353 ocs_hw_send_frame_context_t *ctx, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) 8437 uint8_t cqe[sizeof(sli4_mcqe_t)]; local 8447 while (!sli_queue_read(&hw->sli, cq->queue, cqe)) { 8448 status = sli_cq_parse(&hw->sli, cq->queue, cqe, &ctype, &rid); 8467 sli_cqe_async(&hw->sli, cqe); 8478 ocs_hw_rqpair_process_auto_xfr_rdy_cmd(hw, cq, cqe); 8481 ocs_hw_rqpair_process_auto_xfr_rdy_data(hw, cq, cqe); 8485 ocs_hw_wq_process(hw, cq, cqe, status, rid); 8500 ocs_hw_rqpair_process_rq(hw, cq, cqe); 4352 ocs_hw_send_frame(ocs_hw_t *hw, fc_header_le_t *hdr, uint8_t sof, uint8_t eof, ocs_dma_t *payload, ocs_hw_send_frame_context_t *ctx, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument 8546 ocs_hw_wq_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, int32_t status, uint16_t rid) argument 8588 ocs_hw_wq_process_io(void *arg, uint8_t *cqe, int32_t status) argument 8851 ocs_hw_wq_process_abort(void *arg, uint8_t *cqe, int32_t status) argument 8923 ocs_hw_xabt_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, uint16_t rid) argument 11878 ocs_hw_reqtag_alloc(ocs_hw_t *hw, void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg) argument [all...] |
H A D | sli4.h | 5548 * @param cqe Pointer to the CQ entry. 5555 sli_fc_rqe_length(sli4_t *sli4, void *cqe, uint32_t *len_hdr, uint32_t *len_data) argument 5557 sli4_fc_async_rcqe_t *rcqe = cqe; 5575 * @param cqe Pointer to the CQ entry. 5580 sli_fc_rqe_fcfi(sli4_t *sli4, void *cqe) argument 5582 uint8_t code = ((uint8_t*)cqe)[SLI4_CQE_CODE_OFFSET]; 5587 sli4_fc_async_rcqe_t *rcqe = cqe; 5592 sli4_fc_async_rcqe_v1_t *rcqev1 = cqe; 5597 sli4_fc_optimized_write_cmd_cqe_t *opt_wr = cqe;
|
H A D | ocs_unsol.c | 1194 * @param cqe Pointer to completion queue entry. 1200 ocs_sframe_common_send_cb(void *arg, uint8_t *cqe, int32_t status) argument
|
/freebsd-11-stable/contrib/ofed/libcxgb4/ |
H A D | verbs.c | 168 struct ibv_cq *c4iw_create_cq(struct ibv_context *context, int cqe, argument 183 ret = ibv_cmd_create_cq(context, cqe, channel, comp_vector, 242 int c4iw_resize_cq(struct ibv_cq *ibcq, int cqe) argument 249 ret = ibv_cmd_resize_cq(ibcq, cqe, &cmd, sizeof cmd, &resp, sizeof resp);
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | eth_common.h | 410 union eth_rx_cqe cqe /* CQE data itself */; member in struct:eth_rx_pmd_cqe
|
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | qp.c | 612 struct t4_cqe cqe = {}; local 621 cqe.u.drain_cookie = wr->wr_id; 622 cqe.header = cpu_to_be32(V_CQE_STATUS(T4_ERR_SWFLUSH) | 629 cqe.bits_type_ts = cpu_to_be64(V_CQE_GENBIT((u64)cq->gen)); 630 cq->sw_queue[cq->sw_pidx] = cqe; 642 struct t4_cqe cqe = {}; local 651 cqe.u.drain_cookie = wr->wr_id; 652 cqe.header = cpu_to_be32(V_CQE_STATUS(T4_ERR_SWFLUSH) | 659 cqe.bits_type_ts = cpu_to_be64(V_CQE_GENBIT((u64)cq->gen)); 660 cq->sw_queue[cq->sw_pidx] = cqe; [all...] |
/freebsd-11-stable/sys/contrib/ena-com/ |
H A D | ena_com.c | 487 struct ena_admin_acq_entry *cqe) 492 cmd_id = cqe->acq_common_descriptor.command & 504 comp_ctx->comp_status = cqe->acq_common_descriptor.status; 507 memcpy(comp_ctx->user_cqe, (void *)cqe, comp_ctx->comp_size); 515 struct ena_admin_acq_entry *cqe = NULL; local 523 cqe = &admin_queue->cq.entries[head_masked]; 526 while ((READ_ONCE8(cqe->acq_common_descriptor.flags) & 532 ena_com_handle_single_admin_completion(admin_queue, cqe); 541 cqe = &admin_queue->cq.entries[head_masked]; 486 ena_com_handle_single_admin_completion(struct ena_com_admin_queue *admin_queue, struct ena_admin_acq_entry *cqe) argument
|
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | mlx5.h | 594 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe, 603 int mlx5_resize_cq(struct ibv_cq *cq, int cqe);
|
H A D | mlx5.c | 674 cq_out->cqe_cnt = mcq->ibv_cq.cqe + 1;
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_mad.c | 698 static void build_smp_wc(struct ib_qp *qp, struct ib_cqe *cqe, u16 slid, argument 702 wc->wr_cqe = cqe; 1047 mad_send_wr->mad_list.cqe.done = ib_mad_send_done; 1049 mad_send_wr->send_wr.wr.wr_cqe = &mad_send_wr->mad_list.cqe; 1162 mad_send_wr->mad_list.cqe.done = ib_mad_send_done; 1163 mad_send_wr->send_wr.wr.wr_cqe = &mad_send_wr->mad_list.cqe; 2188 container_of(wc->wr_cqe, struct ib_mad_list_head, cqe); 2440 container_of(wc->wr_cqe, struct ib_mad_list_head, cqe); 2525 container_of(wc->wr_cqe, struct ib_mad_list_head, cqe); 2897 mad_priv->header.mad_list.cqe [all...] |
H A D | ib_uverbs_cmd.c | 1409 attr.cqe = cmd->cqe; 1436 resp.base.cqe = cq->cqe; 1508 cmd_ex.cqe = cmd.cqe; 1593 ret = cq->device->resize_cq(cq, cmd.cqe, &udata); 1597 resp.cqe = cq->cqe; 1600 &resp, sizeof resp.cqe)) [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_mr.c | 656 container_of(wc->wr_cqe, struct mlx5_ib_umr_context, cqe); 664 context->cqe.done = mlx5_ib_umr_done; 709 umrwr.wr.wr_cqe = &umr_context.cqe; 827 wr.wr.wr_cqe = &umr_context.cqe; 1037 umrwr.wr.wr_cqe = &umr_context.cqe; 1079 umrwr.wr.wr_cqe = &umr_context.cqe;
|
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_qp.c | 603 status = CQE_STATUS(rsp_msg->cqe); 604 opcode = CQE_OPCODE(rsp_msg->cqe); 605 rqtype = RQ_TYPE(rsp_msg->cqe);
|
H A D | iw_cxgb_provider.c | 190 int entries = attr->cqe; 230 chp->ibcq.cqe = 1 << chp->cq.size_log2; 283 iwch_resize_cq(struct ib_cq *cq __unused, int cqe __unused,
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_tx.c | 235 /* TODO: handle failed RDMA read cqe */ 422 .cqe = SDP_TX_SIZE,
|
H A D | sdp_rx.c | 704 .cqe = SDP_RX_SIZE,
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe.c | 2768 struct eth_fast_path_rx_cqe *cqe) 2797 tmp = (uint32_t *)cqe; 2801 BLOGE(sc, "cqe [0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x]\n", 2810 tpa_info->placement_offset = cqe->placement_offset; 2811 tpa_info->parsing_flags = le16toh(cqe->pars_flags.flags); 2812 tpa_info->vlan_tag = le16toh(cqe->vlan_tag); 2813 tpa_info->len_on_bd = le16toh(cqe->len_on_bd); 2867 struct eth_end_agg_rx_cqe *cqe, 2876 frag_size = le16toh(cqe->pkt_len) - tpa_info->len_on_bd; 2885 uint32_t *tmp = (uint32_t *)cqe; 2763 bxe_tpa_start(struct bxe_softc *sc, struct bxe_fastpath *fp, uint16_t queue, uint16_t cons, uint16_t prod, struct eth_fast_path_rx_cqe *cqe) argument 2861 bxe_fill_frag_mbuf(struct bxe_softc *sc, struct bxe_fastpath *fp, struct bxe_sw_tpa_info *tpa_info, uint16_t queue, uint16_t pages, struct mbuf *m, struct eth_end_agg_rx_cqe *cqe, uint16_t cqe_idx) argument 2985 bxe_update_sge_prod(struct bxe_softc *sc, struct bxe_fastpath *fp, uint16_t sge_len, union eth_sgl_or_raw_data *cqe) argument 3049 bxe_tpa_stop(struct bxe_softc *sc, struct bxe_fastpath *fp, struct bxe_sw_tpa_info *tpa_info, uint16_t queue, uint16_t pages, struct eth_end_agg_rx_cqe *cqe, uint16_t cqe_idx) argument 3209 union eth_rx_cqe *cqe; local [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_dev.h | 512 void mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe);
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 285 unsigned int cqe; member in struct:ib_cq_init_attr 1450 int cqe; member in struct:ib_cq 1995 int (*resize_cq)(struct ib_cq *cq, int cqe, 2851 * @cqe: The minimum size of the CQ. 2855 int ib_resize_cq(struct ib_cq *cq, int cqe);
|
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 407 .cqe = rx_depth + 1,
|
/freebsd-11-stable/sys/dev/iser/ |
H A D | iser_verbs.c | 232 .cqe = max_cqe,
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib.h | 118 int cqe; member in struct:mlx4_ib_cq_resize
|