Searched refs:cqe (Results 26 - 50 of 87) sorted by relevance

1234

/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c93 .cqe = nr_cqe,
H A Dmad_priv.h69 struct ib_cqe cqe; member in struct:ib_mad_list_head
H A Dib_verbs.c1396 int ib_resize_cq(struct ib_cq *cq, int cqe) argument
1399 cq->device->resize_cq(cq, cqe, NULL) : -ENOSYS;
1960 struct ib_cqe cqe; member in struct:ib_drain_cqe
1966 struct ib_drain_cqe *cqe = container_of(wc->wr_cqe, struct ib_drain_cqe, local
1967 cqe);
1969 complete(&cqe->done);
1983 .wr_cqe = &sdrain.cqe,
1994 sdrain.cqe.done = ib_drain_qp_done;
2028 rwr.wr_cqe = &rdrain.cqe;
2029 rdrain.cqe
[all...]
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dt4.h219 /* macros for flit 0 of the cqe */
273 /* macros for flit 3 of the cqe */
296 struct t4_cqe cqe; member in struct:t4_swsqe
649 static inline int t4_valid_cqe(struct t4_cq *cq, struct t4_cqe *cqe) argument
651 return (CQE_GENBIT(cqe) == cq->gen);
654 static inline int t4_next_hw_cqe(struct t4_cq *cq, struct t4_cqe **cqe) argument
671 *cqe = &cq->queue[cq->cidx];
696 static inline int t4_next_cqe(struct t4_cq *cq, struct t4_cqe **cqe) argument
703 *cqe = &cq->sw_queue[cq->sw_cidx];
704 else ret = t4_next_hw_cqe(cq, cqe);
[all...]
H A Ddev.c317 "complete %u signaled %u cqe %016" PRIx64 " %016" PRIx64 " %016" PRIx64 " %016" PRIx64 "\n",
325 htobe64(((uint64_t *)&swsqe->cqe)[0]),
326 htobe64(((uint64_t *)&swsqe->cqe)[1]),
327 htobe64(((uint64_t *)&swsqe->cqe)[2]),
328 htobe64(((uint64_t *)&swsqe->cqe)[3]));
574 "write %lu arm %lu cqe %lu mr %lu qp %lu cq %lu\n",
576 c4iw_stats.write, c4iw_stats.arm, c4iw_stats.cqe,
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dt4.h212 /* macros for flit 0 of the cqe */
268 /* macros for flit 3 of the cqe */
291 struct t4_cqe cqe; member in struct:t4_swsqe
638 static inline int t4_valid_cqe(struct t4_cq *cq, struct t4_cqe *cqe) argument
640 return (CQE_GENBIT(cqe) == cq->gen);
648 static inline int t4_next_hw_cqe(struct t4_cq *cq, struct t4_cqe **cqe) argument
667 *cqe = &cq->queue[cq->cidx];
688 static inline int t4_next_cqe(struct t4_cq *cq, struct t4_cqe **cqe) argument
695 *cqe = &cq->sw_queue[cq->sw_cidx];
697 ret = t4_next_hw_cqe(cq, cqe);
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c353 struct mlx4_cqe *cqe; local
368 cqe = &buf[(index << factor) + factor];
373 while (XNOR(cqe->owner_sr_opcode & MLX4_CQE_OWNER_MASK,
381 if (unlikely((cqe->owner_sr_opcode & MLX4_CQE_OPCODE_MASK) ==
384 ((struct mlx4_err_cqe *)cqe)->
386 ((struct mlx4_err_cqe *)cqe)->syndrome);
390 new_index = be16_to_cpu(cqe->wqe_index) & size_mask;
407 cqe = &buf[(index << factor) + factor];
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c165 cq_attr.cqe = size;
172 cq_attr.cqe = ipoib_sendq_size;
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c356 if (!cq_attr->cqe) {
395 ncqe = align_queue_size(cq_attr->cqe + 1);
396 if ((ncqe > (1 << 24)) || (ncqe < (cq_attr->cqe + 1))) {
491 struct ibv_cq *mlx5_create_cq(struct ibv_context *context, int cqe, argument
496 struct ibv_cq_init_attr_ex cq_attr = {.cqe = cqe, .channel = channel,
500 if (cqe <= 0) {
530 int mlx5_resize_cq(struct ibv_cq *ibcq, int cqe) argument
538 if (cqe < 0) {
546 if (((long long)cqe * 6
[all...]
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dmlx4.h189 struct mlx4_cqe *cqe; member in struct:mlx4_cq
384 struct ibv_cq *mlx4_create_cq(struct ibv_context *context, int cqe,
392 int mlx4_resize_cq(struct ibv_cq *cq, int cqe);
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dmckey.c133 int cqe, ret; local
142 cqe = message_count ? message_count * 2 : 2;
143 node->cq = ibv_create_cq(node->cma_id->verbs, cqe, node, NULL, 0);
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs_compat.h336 void *cq_context, int cqe, int comp_vector)
338 const struct ib_cq_init_attr cq_attr = {.cqe = cqe,.comp_vector = comp_vector};
333 ib_create_cq_compat(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
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c31 struct ib_cqe cqe; member in struct:mlx5_ib_gsi_wr
95 container_of(wc->wr_cqe, struct mlx5_ib_gsi_wr, cqe);
433 gsi_wr->cqe.done = &handle_single_completion;
434 wr->wr.wr_cqe = &gsi_wr->cqe;
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_provider.h195 int cqe; member in struct:mthca_cq_resize
H A Dmthca_provider.c654 int entries = attr->cqe;
767 cq->resize_buf->cqe = entries - 1;
790 if (entries == ibcq->cqe + 1) {
813 cq->resize_buf->cqe);
830 tcqe = cq->ibcq.cqe;
832 cq->ibcq.cqe = cq->resize_buf->cqe;
835 tcqe = cq->resize_buf->cqe;
844 ibcq->cqe = entries - 1;
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.h126 struct t3_cqe cqe; /* flits 2-3 */ member in struct:respQ_msg_t
173 int cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe,
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Ddriver.h185 int ibv_cmd_create_cq(struct ibv_context *context, int cqe,
202 int ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe,
H A Dverbs.c74 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe,
78 int __ibv_resize_cq(struct ibv_cq *cq, int cqe);
454 struct ibv_cq *__ibv_create_cq(struct ibv_context *context, int cqe, void *cq_context, argument
459 cq = context->ops.create_cq(context, cqe, channel, comp_vector);
468 int __ibv_resize_cq(struct ibv_cq *cq, int cqe) argument
473 return cq->context->ops.resize_cq(cq, cqe);
H A Dcmd.c465 int ibv_cmd_create_cq(struct ibv_context *context, int cqe, argument
473 cmd->cqe = cqe;
484 cq->cqe = resp->cqe;
510 cmd->cqe = cq_attr->cqe;
532 cq->cqe = resp->base.cqe;
599 int ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe, argument
[all...]
H A Dverbs.h1066 int cqe; member in struct:ibv_cq
1083 int cqe; member in struct:ibv_cq_ex
1423 struct ibv_cq * (*create_cq)(struct ibv_context *context, int cqe,
1429 int (*resize_cq)(struct ibv_cq *cq, int cqe);
1484 uint32_t cqe; member in struct:ibv_cq_init_attr_ex
1827 * @cqe - Minimum number of entries required for CQ
1834 struct ibv_cq *ibv_create_cq(struct ibv_context *context, int cqe,
1866 * @cqe: The minimum size of the CQ.
1870 int ibv_resize_cq(struct ibv_cq *cq, int cqe);
H A Dkern-abi.h456 __u32 cqe; member in struct:ibv_create_cq
465 __u32 cqe; member in struct:ibv_create_cq_resp
475 __u32 cqe; member in struct:ibv_create_cq_ex
536 __u32 cqe; member in struct:ibv_resize_cq
541 __u32 cqe; member in struct:ibv_resize_cq_resp
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_hw.h857 void (*callback)(void *arg, uint8_t *cqe, int32_t status);
1370 extern void ocs_hw_wq_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, int32_t status, uint16_t rid);
1371 extern void ocs_hw_xabt_process(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe, uint16_t rid);
1418 void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg);
1421 extern int32_t ocs_hw_rqpair_process_rq(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe);
1423 extern int32_t ocs_hw_rqpair_process_auto_xfr_rdy_cmd(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe);
1424 extern int32_t ocs_hw_rqpair_process_auto_xfr_rdy_data(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe);
1459 void (*callback)(void *arg, uint8_t *cqe, int32_t status), void *arg);
H A Dsli4.c460 void *cqe = (uint8_t *)sli4->bmbx.virt + SLI4_BMBX_SIZE; local
484 if (((sli4_mcqe_t *)cqe)->val) {
487 ocs_dump32(OCS_DEBUG_ENABLE_CQ_DUMP, sli4->os, "bmbx cqe", cqe, sizeof(sli4_mcqe_t));
489 return sli_cqe_mq(cqe);
5433 * @param cqe Pointer to the CQ entry.
5444 sli_cq_parse(sli4_t *sli4, sli4_queue_t *cq, uint8_t *cqe, sli4_qentry_e *etype, argument
5449 if (!sli4 || !cq || !cqe || !etype) {
5450 ocs_log_err(NULL, "bad parameters sli4=%p cq=%p cqe=%p etype=%p q_id=%p\n",
5451 sli4, cq, cqe, etyp
8026 sli_fc_cqe_parse(sli4_t *sli4, sli4_queue_t *cq, uint8_t *cqe, sli4_qentry_e *etype, uint16_t *r_id) argument
8147 sli_fc_response_length(sli4_t *sli4, uint8_t *cqe) argument
8164 sli_fc_io_length(sli4_t *sli4, uint8_t *cqe) argument
8182 sli_fc_els_did(sli4_t *sli4, uint8_t *cqe, uint32_t *d_id) argument
8197 sli_fc_ext_status(sli4_t *sli4, uint8_t *cqe) argument
8239 sli_fc_rqe_rqid_and_index(sli4_t *sli4, uint8_t *cqe, uint16_t *rq_id, uint32_t *index) argument
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_spq.c547 struct eth_slow_path_rx_cqe *cqe,
551 return OSAL_VF_CQE_COMPLETION(p_hwfn, cqe, protocol);
555 * used to complete the ramrod using the echo value on the cqe
557 return ecore_spq_completion(p_hwfn, cqe->echo, 0, OSAL_NULL);
561 struct eth_slow_path_rx_cqe *cqe)
565 rc = ecore_cqe_completion(p_hwfn, cqe, PROTOCOLID_ETH);
569 cqe->ramrod_cmd_id);
546 ecore_cqe_completion(struct ecore_hwfn *p_hwfn, struct eth_slow_path_rx_cqe *cqe, enum protocol_type protocol) argument
560 ecore_eth_cqe_completion(struct ecore_hwfn *p_hwfn, struct eth_slow_path_rx_cqe *cqe) argument
/freebsd-11-stable/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h381 __u32 cqe; member in struct:ib_uverbs_create_cq
390 __u32 cqe; member in struct:ib_uverbs_ex_create_cq
400 __u32 cqe; member in struct:ib_uverbs_create_cq_resp
412 __u32 cqe; member in struct:ib_uverbs_resize_cq
417 __u32 cqe; member in struct:ib_uverbs_resize_cq_resp

Completed in 300 milliseconds

1234