/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_txrx.c | 47 mlx5e_cq_error_event(struct mlx5_core_cq *mcq, int event) argument 49 struct mlx5e_cq *cq = container_of(mcq, struct mlx5e_cq, mcq); 52 mcq->cqn, event);
|
H A D | mlx5_en_dim.c | 90 mlx5_core_modify_cq_moderation(c->priv->mdev, &rq->cq.mcq,
|
H A D | mlx5_en_main.c | 1268 MLX5_SET(rqc, rqc, cqn, c->rq.cq.mcq.cqn); 1589 MLX5_SET(sqc, sqc, cqn, sq->cq.mcq.cqn); 1775 sq->cq.mcq.comp(&sq->cq.mcq); 1793 sq->cq.mcq.comp(&sq->cq.mcq); 1816 struct mlx5_core_cq *mcq = &cq->mcq; local 1834 mcq->cqe_sz = 64; 1835 mcq 1865 struct mlx5_core_cq *mcq = &cq->mcq; local [all...] |
H A D | en.h | 735 struct mlx5_core_cq mcq; member in struct:mlx5e_cq 1043 void mlx5e_cq_error_event(struct mlx5_core_cq *mcq, int event); 1096 struct mlx5_core_cq *mcq; local 1098 mcq = &cq->mcq; 1099 mlx5_cq_arm(mcq, MLX5_CQ_DB_REQ_NOT, mcq->uar->map, dblock, cq->wq.cc);
|
H A D | mlx5_en_rx.c | 452 mlx5e_rx_cq_comp(struct mlx5_core_cq *mcq) argument 454 struct mlx5e_rq *rq = container_of(mcq, struct mlx5e_rq, cq.mcq);
|
H A D | mlx5_en_tx.c | 612 mlx5e_tx_cq_comp(struct mlx5_core_cq *mcq) argument 614 struct mlx5e_sq *sq = container_of(mcq, struct mlx5e_sq, cq.mcq);
|
H A D | mlx5_en_ethtool.c | 1289 opened ? rq->cq.mcq.cqn : -1, 1297 opened ? sq->cq.mcq.cqn : -1,
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_cq.c | 122 cq->mcq.set_ci_db = cq->wqres.db.db; 123 cq->mcq.arm_db = cq->wqres.db.db + 1; 124 *cq->mcq.set_ci_db = 0; 125 *cq->mcq.arm_db = 0; 158 &mdev->priv_uar, cq->wqres.db.dma, &cq->mcq, 163 cq->mcq.comp = cq->is_tx ? mlx4_en_tx_irq : mlx4_en_rx_irq; 164 cq->mcq.event = mlx4_en_cq_event; 210 mlx4_cq_free(priv->mdev->dev, &cq->mcq); 216 return mlx4_cq_modify(priv->mdev->dev, &cq->mcq, 222 mlx4_cq_arm(&cq->mcq, MLX4_CQ_DB_REQ_NO [all...] |
H A D | mlx4_en_tx.c | 351 struct mlx4_cq *mcq = &cq->mcq; local 358 u32 cons_index = mcq->cons_index; 415 mcq->cons_index = cons_index; 416 mlx4_cq_set_ci(mcq); 423 void mlx4_en_tx_irq(struct mlx4_cq *mcq) argument 425 struct mlx4_en_cq *cq = container_of(mcq, struct mlx4_en_cq, mcq);
|
H A D | mlx4_en_rx.c | 478 ring->cqn = priv->rx_cq[ring_ind]->mcq.cqn; 746 struct mlx4_cq *mcq = &cq->mcq; local 751 u32 cons_index = mcq->cons_index; 856 mcq->cons_index = cons_index; 857 mlx4_cq_set_ci(mcq); 859 ring->cons = mcq->cons_index; 878 void mlx4_en_rx_irq(struct mlx4_cq *mcq) argument 880 struct mlx4_en_cq *cq = container_of(mcq, struct mlx4_en_cq, mcq); [all...] |
H A D | en.h | 383 struct mlx4_cq mcq; member in struct:mlx4_en_cq 794 void mlx4_en_tx_irq(struct mlx4_cq *mcq); 840 void mlx4_en_rx_irq(struct mlx4_cq *mcq);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_cq.c | 90 return get_sw_cqe(cq, cq->mcq.cons_index); 95 struct mlx4_ib_cq *mcq = to_mcq(cq); local 98 return mlx4_cq_modify(dev->dev, &mcq->mcq, cq_count, cq_period); 227 cq->mcq.set_ci_db = cq->db.db; 228 cq->mcq.arm_db = cq->db.db + 1; 229 *cq->mcq.set_ci_db = 0; 230 *cq->mcq.arm_db = 0; 243 cq->db.dma, &cq->mcq, vector, 0, 248 cq->mcq 477 struct mlx4_ib_cq *mcq = to_mcq(cq); local [all...] |
H A D | mlx4_ib.h | 123 struct mlx4_cq mcq; member in struct:mlx4_ib_cq 659 static inline struct mlx4_ib_cq *to_mibcq(struct mlx4_cq *mcq) argument 661 return container_of(mcq, struct mlx4_ib_cq, mcq);
|
H A D | mlx4_ib_main.c | 3043 struct mlx4_cq *mcq; local 3057 if (send_mcq->mcq.comp && 3059 if (!send_mcq->mcq.reset_notify_added) { 3060 send_mcq->mcq.reset_notify_added = 1; 3061 list_add_tail(&send_mcq->mcq.reset_notify, 3075 if (recv_mcq->mcq.comp && 3077 if (!recv_mcq->mcq.reset_notify_added) { 3078 recv_mcq->mcq.reset_notify_added = 1; 3079 list_add_tail(&recv_mcq->mcq.reset_notify, 3090 list_for_each_entry(mcq, [all...] |
H A D | mlx4_ib_qp.c | 652 struct mlx4_ib_cq *mcq; local 896 mcq = to_mcq(init_attr->send_cq); 897 list_add_tail(&qp->cq_send_list, &mcq->send_qp_list); 898 mcq = to_mcq(init_attr->recv_cq); 899 list_add_tail(&qp->cq_recv_list, &mcq->recv_qp_list); 963 } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { 978 } else if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { 1839 context->cqn_send = cpu_to_be32(send_cq->mcq [all...] |
H A D | mlx4_ib_srq.c | 186 to_mcq(init_attr->ext.xrc.cq)->mcq.cqn : 0;
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_cq.c | 41 static void mlx5_ib_cq_event(struct mlx5_core_cq *mcq, int type) argument 43 struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq); 50 type, mcq->cqn); 69 return get_cqe_from_buf(&cq->buf, n, cq->mcq.cqe_sz); 82 cqe64 = (cq->mcq.cqe_sz == 64) ? cqe : cqe + 64; 94 return get_sw_cqe(cq, cq->mcq.cons_index); 535 cqe64 = (cq->mcq.cqe_sz == 64) ? cqe : cqe + 64; 537 ++cq->mcq.cons_index; 594 "Requestor" : "Responder", cq->mcq 1014 struct mlx5_ib_cq *mcq = to_mcq(cq); local 1100 struct mlx5_ib_cq *mcq = to_mcq(cq); local [all...] |
H A D | mlx5_ib.h | 433 struct mlx5_core_cq mcq; member in struct:mlx5_ib_cq 701 static inline struct mlx5_ib_cq *to_mibcq(struct mlx5_core_cq *mcq) argument 703 return container_of(mcq, struct mlx5_ib_cq, mcq);
|
H A D | mlx5_ib_qp.c | 1713 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); 1714 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(devr->c0)->mcq.cqn); 1719 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(devr->c0)->mcq.cqn); 1734 MLX5_SET(qpc, qpc, cqn_snd, to_mcq(init_attr->send_cq)->mcq.cqn); 1737 MLX5_SET(qpc, qpc, cqn_rcv, to_mcq(init_attr->recv_cq)->mcq.cqn); 1804 if (send_cq->mcq.cqn < recv_cq->mcq.cqn) { 1808 } else if (send_cq->mcq.cqn == recv_cq->mcq.cqn) { 1834 if (send_cq->mcq [all...] |
H A D | mlx5_ib_srq.c | 302 in.cqn = to_mcq(init_attr->ext.xrc.cq)->mcq.cqn; 305 in.cqn = to_mcq(dev->devr.c0)->mcq.cqn;
|
H A D | mlx5_ib_main.c | 2411 struct mlx5_core_cq *mcq; local 2426 if (send_mcq->mcq.comp && 2428 if (!send_mcq->mcq.reset_notify_added) { 2429 send_mcq->mcq.reset_notify_added = 1; 2430 list_add_tail(&send_mcq->mcq.reset_notify, 2443 if (recv_mcq->mcq.comp && 2445 if (!recv_mcq->mcq.reset_notify_added) { 2446 recv_mcq->mcq.reset_notify_added = 1; 2447 list_add_tail(&recv_mcq->mcq.reset_notify, 2460 list_for_each_entry(mcq, [all...] |
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | srq.c | 302 struct mlx4_cq *mcq; local 305 mcq = to_mcq(msrq->verbs_srq.cq); 306 mlx4_cq_clean(mcq, 0, msrq); 307 pthread_spin_lock(&mcq->lock); 309 pthread_spin_unlock(&mcq->lock); 313 pthread_spin_lock(&mcq->lock); 315 pthread_spin_unlock(&mcq->lock);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga/ |
H A D | mlx5fpga_conn.c | 361 mlx5_cq_arm(&conn->cq.mcq, MLX5_CQ_DB_REQ_NOT, 365 static void mlx5_fpga_conn_cq_event(struct mlx5_core_cq *mcq, argument 370 conn = container_of(mcq, struct mlx5_fpga_conn, cq.mcq); 371 mlx5_fpga_warn(conn->fdev, "CQ event %u on CQ #%u\n", event, mcq->cqn); 417 static void mlx5_fpga_conn_cq_complete(struct mlx5_core_cq *mcq) argument 421 conn = container_of(mcq, struct mlx5_fpga_conn, cq.mcq); 479 err = mlx5_core_create_cq(mdev, &conn->cq.mcq, in, inlen); 485 conn->cq.mcq [all...] |
H A D | conn.h | 59 struct mlx5_core_cq mcq; member in struct:mlx5_fpga_conn::__anon4926
|
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | mlx5.c | 669 struct mlx5_cq *mcq = to_mcq(cq_in); local 673 cq_out->cqn = mcq->cqn; 674 cq_out->cqe_cnt = mcq->ibv_cq.cqe + 1; 675 cq_out->cqe_size = mcq->cqe_sz; 676 cq_out->buf = mcq->active_buf->buf; 677 cq_out->dbrec = mcq->dbrec; 680 mcq->flags |= MLX5_CQ_FLAGS_DV_OWNED;
|