Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c39 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_cyc_create() argument
46 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create()
52 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create()
55 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_cyc_create()
61 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
64 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create()
69 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create()
101 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_qp_create() argument
113 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_qp_create()
122 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_qp_create()
[all …]
Dwq.h81 struct mlx5_wq_ctrl *wq_ctrl);
87 struct mlx5_wq_ctrl *wq_ctrl);
91 struct mlx5_wq_ctrl *wq_ctrl);
95 struct mlx5_wq_ctrl *wq_ctrl);
98 void mlx5_wq_destroy(struct mlx5_wq_ctrl *wq_ctrl);
Den_main.c760 &rq->wq_ctrl); in mlx5e_alloc_rq()
812 &rq->wq_ctrl); in mlx5e_alloc_rq()
928 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_alloc_rq()
960 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_free_rq()
974 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_create_rq()
990 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_create_rq()
992 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq()
1000 mlx5_fill_page_frag_array(&rq->wq_ctrl.buf, in mlx5e_create_rq()
1370 err = mlx5_wq_cyc_create(mdev, &param->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_alloc_xdpsq()
1382 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_alloc_xdpsq()
[all …]
Den.h360 struct mlx5_wq_ctrl wq_ctrl; member
461 struct mlx5_wq_ctrl wq_ctrl; member
520 struct mlx5_wq_ctrl wq_ctrl; member
548 struct mlx5_wq_ctrl wq_ctrl; member
729 struct mlx5_wq_ctrl wq_ctrl; member
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c19 struct mlx5_wq_ctrl wq_ctrl; member
36 struct mlx5_wq_ctrl wq_ctrl; member
42 mlx5_wq_destroy(&cq->wq_ctrl); in mlx5_aso_free_cq()
56 err = mlx5_cqwq_create(mdev, &param, cqc_data, &cq->wq, &cq->wq_ctrl); in mlx5_aso_alloc_cq()
61 mcq->set_ci_db = cq->wq_ctrl.db.db; in mlx5_aso_alloc_cq()
62 mcq->arm_db = cq->wq_ctrl.db.db + 1; in mlx5_aso_alloc_cq()
89 sizeof(u64) * cq->wq_ctrl.buf.npages; in create_aso_cq()
98 mlx5_fill_page_frag_array(&cq->wq_ctrl.buf, in create_aso_cq()
104 MLX5_SET(cqc, cqc, log_page_size, cq->wq_ctrl.buf.page_shift - in create_aso_cq()
106 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in create_aso_cq()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c280 &dr_qp->wq_ctrl); in dr_create_rc_qp()
297 dr_qp->wq_ctrl.buf.npages; in dr_create_rc_qp()
311 dr_qp->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in dr_create_rc_qp()
321 MLX5_SET64(qpc, qpc, dbr_addr, dr_qp->wq_ctrl.db.dma); in dr_create_rc_qp()
324 mlx5_fill_page_frag_array(&dr_qp->wq_ctrl.buf, in dr_create_rc_qp()
341 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_create_rc_qp()
357 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_destroy_qp()
373 dr_rdma_handle_flow_access_arg_segments(struct mlx5_wqe_ctrl_seg *wq_ctrl, in dr_rdma_handle_flow_access_arg_segments() argument
381 wq_ctrl->general_id = cpu_to_be32(remote_addr); in dr_rdma_handle_flow_access_arg_segments()
382 wq_flow_seg = (void *)(wq_ctrl + 1); in dr_rdma_handle_flow_access_arg_segments()
[all …]
Ddr_types.h1416 struct mlx5_wq_ctrl wq_ctrl; member
1438 struct mlx5_wq_ctrl wq_ctrl; member
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c431 &conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq()
441 sizeof(u64) * conn->cq.wq_ctrl.buf.npages; in mlx5_fpga_conn_create_cq()
458 MLX5_SET(cqc, cqc, log_page_size, conn->cq.wq_ctrl.buf.page_shift - in mlx5_fpga_conn_create_cq()
460 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq()
463 mlx5_fill_page_frag_array(&conn->cq.wq_ctrl.buf, pas); in mlx5_fpga_conn_create_cq()
472 conn->cq.mcq.set_ci_db = conn->cq.wq_ctrl.db.db; in mlx5_fpga_conn_create_cq()
473 conn->cq.mcq.arm_db = conn->cq.wq_ctrl.db.db + 1; in mlx5_fpga_conn_create_cq()
486 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq()
496 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_destroy_cq()
509 &conn->qp.wq_ctrl); in mlx5_fpga_conn_create_wq()
[all …]
Dconn.h57 struct mlx5_wq_ctrl wq_ctrl; member
67 struct mlx5_wq_ctrl wq_ctrl; member
/drivers/scsi/snic/
Dvnic_dev.c21 struct vnic_wq_ctrl __iomem *wq_ctrl; member
260 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2()
266 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()
297 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2()
393 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()
/drivers/scsi/fnic/
Dvnic_dev.c21 struct vnic_wq_ctrl *wq_ctrl; member
320 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()
321 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in vnic_dev_cmd2()
361 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2()
458 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c349 err = mlx5_wq_cyc_create(mdev, &param->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq()
361 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq()
472 csp.wq_ctrl = &txqsq->wq_ctrl; in mlx5e_ptp_open_txqsq()
Dparams.h49 struct mlx5_wq_ctrl *wq_ctrl; member
/drivers/net/ethernet/cisco/enic/
Dvnic_wq.h79 struct vnic_wq_ctrl __iomem *wq_ctrl; member
Dvnic_dev.c295 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2()
321 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _vnic_dev_cmd2()
408 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()