/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 | 435 &rq->wq_ctrl); in mlx5e_alloc_rq() 467 &rq->wq_ctrl); in mlx5e_alloc_rq() 588 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_alloc_rq() 632 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_free_rq() 646 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_create_rq() 662 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_create_rq() 664 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq() 666 mlx5_fill_page_frag_array(&rq->wq_ctrl.buf, in mlx5e_create_rq() 988 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_alloc_xdpsq() 1000 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_alloc_xdpsq() [all …]
|
D | en.h | 316 struct mlx5_wq_ctrl wq_ctrl; member 410 struct mlx5_wq_ctrl wq_ctrl; member 516 struct mlx5_wq_ctrl wq_ctrl; member 544 struct mlx5_wq_ctrl wq_ctrl; member 673 struct mlx5_wq_ctrl wq_ctrl; member
|
/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 | 1259 struct mlx5_wq_ctrl wq_ctrl; member 1280 struct mlx5_wq_ctrl wq_ctrl; member
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
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 …]
|
D | conn.h | 57 struct mlx5_wq_ctrl wq_ctrl; member 67 struct mlx5_wq_ctrl wq_ctrl; member
|
/drivers/scsi/snic/ |
D | vnic_dev.c | 35 struct vnic_wq_ctrl __iomem *wq_ctrl; member 274 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2() 280 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 311 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 407 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()
|
/drivers/scsi/fnic/ |
D | vnic_dev.c | 33 struct vnic_wq_ctrl *wq_ctrl; member 332 posted = ioread32(&dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2() 333 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in vnic_dev_cmd2() 373 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in vnic_dev_cmd2() 470 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | ptp.c | 222 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq() 234 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_ptp_alloc_txqsq() 292 csp.wq_ctrl = &txqsq->wq_ctrl; in mlx5e_ptp_open_txqsq()
|
D | params.h | 46 struct mlx5_wq_ctrl *wq_ctrl; member
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.h | 92 struct vnic_wq_ctrl __iomem *wq_ctrl; member
|
D | vnic_dev.c | 308 fetch_index = ioread32(&dc2c->wq_ctrl->fetch_index); in _vnic_dev_cmd2() 334 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _vnic_dev_cmd2() 421 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()
|