/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 64 struct mlx5_wq_ctrl *wq_ctrl) in mlx5_wq_cyc_create() argument 71 err = mlx5_db_alloc_node(mdev, &wq_ctrl->db, param->db_numa_node); in mlx5_wq_cyc_create() 77 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create() 80 &wq_ctrl->buf, param->buf_numa_node); in mlx5_wq_cyc_create() 86 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); 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_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); 86 struct mlx5_wq_ctrl *wq_ctrl); 90 struct mlx5_wq_ctrl *wq_ctrl); 96 struct mlx5_wq_ctrl *wq_ctrl); 99 void mlx5_wq_destroy(struct mlx5_wq_ctrl *wq_ctrl);
|
D | en_main.c | 433 &rq->wq_ctrl); in mlx5e_alloc_rq() 486 &rq->wq_ctrl); in mlx5e_alloc_rq() 636 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_alloc_rq() 671 mlx5_wq_destroy(&rq->wq_ctrl); in mlx5e_free_rq() 686 sizeof(u64) * rq->wq_ctrl.buf.npages; in mlx5e_create_rq() 698 MLX5_SET(wq, wq, log_wq_pg_sz, rq->wq_ctrl.buf.page_shift - in mlx5e_create_rq() 700 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq() 702 mlx5_fill_page_frag_array(&rq->wq_ctrl.buf, in mlx5e_create_rq() 995 err = mlx5_wq_cyc_create(mdev, ¶m->wq, sqc_wq, wq, &sq->wq_ctrl); in mlx5e_alloc_xdpsq() 1007 mlx5_wq_destroy(&sq->wq_ctrl); in mlx5e_alloc_xdpsq() [all …]
|
D | en.h | 330 struct mlx5_wq_ctrl wq_ctrl; member 418 struct mlx5_wq_ctrl wq_ctrl; member 539 struct mlx5_wq_ctrl wq_ctrl; member 563 struct mlx5_wq_ctrl wq_ctrl; member 689 struct mlx5_wq_ctrl wq_ctrl; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 136 &dr_qp->wq_ctrl); in dr_create_rc_qp() 153 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() 175 MLX5_SET64(qpc, qpc, dbr_addr, dr_qp->wq_ctrl.db.dma); in dr_create_rc_qp() 178 mlx5_fill_page_frag_array(&dr_qp->wq_ctrl.buf, in dr_create_rc_qp() 197 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_create_rc_qp() 208 mlx5_wq_destroy(&dr_qp->wq_ctrl); in dr_destroy_qp() 228 struct mlx5_wqe_ctrl_seg *wq_ctrl; in dr_rdma_segments() local 233 size = sizeof(*wq_ctrl) / 16 + sizeof(*wq_dseg) / 16 + in dr_rdma_segments() 238 wq_ctrl = mlx5_wq_cyc_get_wqe(&dr_qp->wq.sq, idx); in dr_rdma_segments() [all …]
|
D | dr_types.h | 972 struct mlx5_wq_ctrl wq_ctrl; member 993 struct mlx5_wq_ctrl wq_ctrl; member
|
/Linux-v5.4/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 | 449 &conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq() 459 sizeof(u64) * conn->cq.wq_ctrl.buf.npages; in mlx5_fpga_conn_create_cq() 476 MLX5_SET(cqc, cqc, log_page_size, conn->cq.wq_ctrl.buf.page_shift - in mlx5_fpga_conn_create_cq() 478 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq() 481 mlx5_fill_page_frag_array(&conn->cq.wq_ctrl.buf, pas); in mlx5_fpga_conn_create_cq() 490 conn->cq.mcq.set_ci_db = conn->cq.wq_ctrl.db.db; in mlx5_fpga_conn_create_cq() 491 conn->cq.mcq.arm_db = conn->cq.wq_ctrl.db.db + 1; in mlx5_fpga_conn_create_cq() 507 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_create_cq() 517 mlx5_wq_destroy(&conn->cq.wq_ctrl); in mlx5_fpga_conn_destroy_cq() 530 &conn->qp.wq_ctrl); in mlx5_fpga_conn_create_wq() [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/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() 469 vdev->devcmd2->wq_ctrl = vdev->devcmd2->wq.ctrl; in vnic_dev_init_devcmd2()
|
/Linux-v5.4/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()
|