Searched refs:wq_ctrl (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 75 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_cyc_create() argument 85 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create() 92 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_cyc_create() 98 fbc->frag_buf = wq_ctrl->buf; in mlx5_wq_cyc_create() 99 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create() 101 wq_ctrl->mdev = mdev; in mlx5_wq_cyc_create() 106 mlx5_db_free(mdev, &wq_ctrl->db); in mlx5_wq_cyc_create() 134 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_qp_create() argument 152 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_qp_create() 159 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_qp_create() [all …]
|
D | wq.h | 81 struct mlx5_wq_ctrl *wq_ctrl); 86 struct mlx5_wq_ctrl *wq_ctrl); 90 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 | 515 &rq->wq_ctrl); in mlx5e_alloc_rq() 560 &rq->wq_ctrl); in mlx5e_alloc_rq() 691 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_alloc_rq() 723 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_free_rq() 738 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_create_rq() 750 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_create_rq() 752 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq() 754 mlx5_fill_page_frag_array(&rq->wq_ctrl.buf, in mlx5e_create_rq() 1011 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_alloc_xdpsq() 1023 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_alloc_xdpsq() [all …]
|
D | en.h | 322 struct mlx5_wq_ctrl wq_ctrl; member 389 struct mlx5_wq_ctrl wq_ctrl; member 438 struct mlx5_wq_ctrl wq_ctrl; member 462 struct mlx5_wq_ctrl wq_ctrl; member 579 struct mlx5_wq_ctrl wq_ctrl; member
|
/Linux-v4.19/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 | 447 &conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq() 457 sizeof(u64) * conn->cq.wq_ctrl.buf.npages; in mlx5_fpga_conn_create_cq() 472 MLX5_SET(cqc, cqc, log_page_size, conn->cq.wq_ctrl.buf.page_shift - in mlx5_fpga_conn_create_cq() 474 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq() 477 mlx5_fill_page_frag_array(&conn->cq.wq_ctrl.buf, pas); in mlx5_fpga_conn_create_cq() 486 conn->cq.mcq.set_ci_db = conn->cq.wq_ctrl.db.db; in mlx5_fpga_conn_create_cq() 487 conn->cq.mcq.arm_db = conn->cq.wq_ctrl.db.db + 1; in mlx5_fpga_conn_create_cq() 503 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq() 513 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_destroy_cq() 526 &conn->qp.wq_ctrl); in mlx5_fpga_conn_create_wq() [all …]
|
/Linux-v4.19/drivers/scsi/snic/ |
D | vnic_dev.c | 35 struct vnic_wq_ctrl __iomem *wq_ctrl; member 275 fetch_idx = ioread32(&dc2c->wq_ctrl->fetch_index); in _svnic_dev_cmd2() 281 posted = ioread32(&dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 312 iowrite32(new_posted, &dc2c->wq_ctrl->posted_index); in _svnic_dev_cmd2() 408 dc2c->wq_ctrl = dc2c->wq.ctrl; in svnic_dev_init_devcmd2()
|
/Linux-v4.19/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()
|