/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 39 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 …]
|
D | wq.h | 81 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);
|
D | en_main.c | 694 &rq->wq_ctrl); in mlx5e_alloc_rq() 743 &rq->wq_ctrl); in mlx5e_alloc_rq() 869 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_alloc_rq() 912 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_free_rq() 926 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_create_rq() 942 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_create_rq() 944 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq() 952 mlx5_fill_page_frag_array(&rq->wq_ctrl.buf, in mlx5e_create_rq() 1314 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_alloc_xdpsq() 1326 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_alloc_xdpsq() [all …]
|
D | en.h | 363 struct mlx5_wq_ctrl wq_ctrl; member 458 struct mlx5_wq_ctrl wq_ctrl; member 563 struct mlx5_wq_ctrl wq_ctrl; member 591 struct mlx5_wq_ctrl wq_ctrl; member 759 struct mlx5_wq_ctrl wq_ctrl; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.c | 19 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, ¶m, 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 …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 135 &dr_qp->wq_ctrl); in dr_create_rc_qp() 152 dr_qp->wq_ctrl.buf.npages; in dr_create_rc_qp() 166 dr_qp->wq_ctrl.buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in dr_create_rc_qp() 176 MLX5_SET64(qpc, qpc, dbr_addr, dr_qp->wq_ctrl.db.dma); in dr_create_rc_qp() 179 mlx5_fill_page_frag_array(&dr_qp->wq_ctrl.buf, in dr_create_rc_qp() 196 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_create_rc_qp() 212 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_destroy_qp() 232 struct mlx5_wqe_ctrl_seg *wq_ctrl; in dr_rdma_segments() local 237 size = sizeof(*wq_ctrl) / 16 + sizeof(*wq_dseg) / 16 + in dr_rdma_segments() 242 wq_ctrl = mlx5_wq_cyc_get_wqe(&dr_qp->wq.sq, idx); in dr_rdma_segments() [all …]
|
D | dr_types.h | 1331 struct mlx5_wq_ctrl wq_ctrl; member 1352 struct mlx5_wq_ctrl wq_ctrl; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.h | 57 struct mlx5_wq_ctrl wq_ctrl; member 67 struct mlx5_wq_ctrl wq_ctrl; member
|
D | conn.c | 431 &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 …]
|
/linux-6.1.9/drivers/scsi/snic/ |
D | vnic_dev.c | 21 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()
|
/linux-6.1.9/drivers/scsi/fnic/ |
D | vnic_dev.c | 21 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 249 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq() 261 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq() 322 csp.wq_ctrl = &txqsq->wq_ctrl; in mlx5e_ptp_open_txqsq()
|
D | params.h | 48 struct mlx5_wq_ctrl *wq_ctrl; member
|
/linux-6.1.9/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.h | 79 struct vnic_wq_ctrl __iomem *wq_ctrl; member
|
D | vnic_dev.c | 295 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()
|