Home
last modified time | relevance | path

Searched refs:wq_ctrl (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_wq.c65 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_cyc_create() argument
73 err = mlx5_db_alloc(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create()
80 max_direct, &wq_ctrl->buf); in mlx5_wq_cyc_create()
86 wq->buf = wq_ctrl->buf.direct.buf; in mlx5_wq_cyc_create()
87 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create()
89 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create()
94 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create()
101 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_cqwq_create() argument
110 err = mlx5_db_alloc(mdev, &wq_ctrl->db); in mlx5_cqwq_create()
117 max_direct, &wq_ctrl->buf); in mlx5_cqwq_create()
[all …]
H A Dwq.h82 struct mlx5_wq_ctrl *wq_ctrl);
87 struct mlx5_wq_ctrl *wq_ctrl);
92 struct mlx5_wq_ctrl *wq_ctrl);
95 void mlx5_wq_destroy(struct mlx5_wq_ctrl *wq_ctrl);
/freebsd/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_conn.c445 &conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq()
455 sizeof(u64) * conn->cq.wq_ctrl.frag_buf.npages; in mlx5_fpga_conn_create_cq()
470 MLX5_SET(cqc, cqc, log_page_size, conn->cq.wq_ctrl.frag_buf.page_shift - in mlx5_fpga_conn_create_cq()
472 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq()
475 mlx5_fill_page_frag_array(&conn->cq.wq_ctrl.frag_buf, pas); in mlx5_fpga_conn_create_cq()
484 conn->cq.mcq.set_ci_db = conn->cq.wq_ctrl.db.db; in mlx5_fpga_conn_create_cq()
485 conn->cq.mcq.arm_db = conn->cq.wq_ctrl.db.db + 1; in mlx5_fpga_conn_create_cq()
501 mlx5_cqwq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq()
511 mlx5_cqwq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_destroy_cq()
524 &conn->qp.wq_ctrl); in mlx5_fpga_conn_create_wq()
[all …]
H A Dconn.h56 struct mlx5_frag_wq_ctrl wq_ctrl; member
66 struct mlx5_wq_ctrl wq_ctrl; member
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c205 &iq->wq, &iq->wq_ctrl); in mlx5e_iq_create()
218 mlx5_wq_destroy(&iq->wq_ctrl); in mlx5e_iq_create()
230 mlx5_wq_destroy(&iq->wq_ctrl); in mlx5e_iq_destroy()
246 sizeof(u64) * iq->wq_ctrl.buf.npages; in mlx5e_iq_enable()
279 MLX5_SET(wq, wq, log_wq_pg_sz, iq->wq_ctrl.buf.page_shift - in mlx5e_iq_enable()
281 MLX5_SET64(wq, wq, dbr_addr, iq->wq_ctrl.db.dma); in mlx5e_iq_enable()
283 mlx5_fill_page_array(&iq->wq_ctrl.buf, in mlx5e_iq_enable()
H A Dmlx5_en_main.c1238 &rq->wq_ctrl); in mlx5e_create_rq()
1306 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_create_rq()
1336 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_destroy_rq()
1354 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_enable_rq()
1370 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_enable_rq()
1372 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_enable_rq()
1374 mlx5_fill_page_array(&rq->wq_ctrl.buf, in mlx5e_enable_rq()
1531 &drop_rq->wq_ctrl); in mlx5e_open_drop_rq()
1551 mlx5_wq_destroy(&drop_rq->wq_ctrl); in mlx5e_open_drop_rq()
1563 mlx5_wq_destroy(&drop_rq->wq_ctrl); in mlx5e_close_drop_rq()
[all …]
H A Den.h746 struct mlx5_wq_ctrl wq_ctrl; member
781 struct mlx5_wq_ctrl wq_ctrl; member
828 struct mlx5_wq_ctrl wq_ctrl; member
893 struct mlx5_wq_ctrl wq_ctrl; member
H A Dmlx5_en_rl.c133 &sq->wq_ctrl); in mlx5e_rl_create_sq()
148 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_rl_create_sq()
160 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_rl_destroy_sq()
/freebsd/sys/dev/enic/
H A Dvnic_wq.h65 struct vnic_res *wq_ctrl; member
H A Dvnic_dev.c250 fetch_index = ENIC_BUS_READ_4(dc2c->wq_ctrl, TX_FETCH_INDEX); in _vnic_dev_cmd2()
272 ENIC_BUS_WRITE_4(dc2c->wq_ctrl, TX_POSTED_INDEX, new_posted); in _vnic_dev_cmd2()
1054 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()
1086 if (vdev->devcmd2->wq_ctrl) in vnic_dev_init_devcmd2()
H A Dvnic_wq.c89 if (vdev->devcmd2->wq_ctrl) in vnic_dev_deinit_devcmd2()