Home
last modified time | relevance | path

Searched refs:MLX5_SET64 (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/vdpa/mlx5/core/
Dmr.c71 MLX5_SET64(mkc, mkc, start_addr, mr->offset); in create_direct_mr()
72 MLX5_SET64(mkc, mkc, len, mr->end - mr->start); in create_direct_mr()
208 MLX5_SET64(mkc, mkc, start_addr, start); in create_indirect_key()
209 MLX5_SET64(mkc, mkc, len, len); in create_indirect_key()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddm.c60 MLX5_SET64(alloc_memic_in, in, range_start_addr, in mlx5_cmd_alloc_memic()
101 MLX5_SET64(dealloc_memic_in, in, memic_start_addr, addr); in mlx5_cmd_dealloc_memic()
123 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_dealloc_memic_op()
139 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_alloc_memic_op()
Dumr.c544 MLX5_SET64(mkc, mkey_seg, start_addr, mr->ibmr.iova); in mlx5r_umr_set_update_xlt_mkey_seg()
545 MLX5_SET64(mkc, mkey_seg, len, mr->ibmr.length); in mlx5r_umr_set_update_xlt_mkey_seg()
Dqp.c1314 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_sq()
1402 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_rq()
1952 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_xrc_tgt_qp()
2097 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_dci()
2292 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_user_qp()
2435 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_kernel_qp()
2662 MLX5_SET64(dctc, dctc, dc_access_key, ucmd->access_key); in create_dct()
3714 MLX5_SET64(modify_rq_in, in, modify_bitmask, in modify_raw_packet_qp_rq()
3781 MLX5_SET64(modify_sq_in, in, modify_bitmask, 1); in modify_raw_packet_qp_sq()
4185 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in __mlx5_ib_modify_qp()
[all …]
Dsrq_cmd.c37 MLX5_SET64(wq, wq, dbr_addr, in->db_record); in set_wq()
50 MLX5_SET64(srqc, srqc, dbr_addr, in->db_record); in set_srqc()
Dmr.c80 MLX5_SET64(mkc, mkc, start_addr, start_addr); in set_mkc_access_pd_addr_fields()
1015 MLX5_SET64(mkc, mkc, len, umem->length); in reg_create()
1072 MLX5_SET64(mkc, mkc, len, length); in mlx5_ib_get_dm_mr()
Dcq.c1007 MLX5_SET64(cqc, cqc, dbr_addr, cq->db.dma); in mlx5_ib_create_cq()
Ddevx.c2277 MLX5_SET64(umem, umem, num_of_mtt, in devx_umem_reg_cmd_alloc()
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c258 MLX5_SET64(mkc, mkc, len, in _create_mkey()
528 MLX5_SET64(page_track_range, addr_range_i_base, start_address, in mlx5vf_create_tracker()
530 MLX5_SET64(page_track_range, addr_range_i_base, length, length); in mlx5vf_create_tracker()
585 MLX5_SET64(page_track, obj_context, modify_field_select, 0x3); in mlx5vf_cmd_modify_tracker()
586 MLX5_SET64(page_track, obj_context, range_start_address, iova); in mlx5vf_cmd_modify_tracker()
587 MLX5_SET64(page_track, obj_context, length, length); in mlx5vf_cmd_modify_tracker()
732 MLX5_SET64(cqc, cqc, dbr_addr, cq->db.dma); in mlx5vf_create_cq()
814 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in mlx5vf_create_rc_qp()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c454 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
457 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
460 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
462 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
Ddr_icm_pool.c52 MLX5_SET64(mkc, mkc, len, length); in dr_icm_create_dm_mkey()
55 MLX5_SET64(mkc, mkc, start_addr, start_addr); in dr_icm_create_dm_mkey()
Ddr_send.c176 MLX5_SET64(qpc, qpc, dbr_addr, dr_qp->wq_ctrl.db.dma); in dr_create_rc_qp()
811 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in dr_create_cq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c106 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in create_aso_cq()
209 MLX5_SET64(wq, wq, dbr_addr, sq->wq_ctrl.db.dma); in create_aso_sq()
Ddm.c195 MLX5_SET64(sw_icm, sw_icm, sw_icm_start_addr, in mlx5_dm_sw_icm_alloc()
Dclock.c183 MLX5_SET64(mtpps_reg, in, time_stamp, tstart); in mlx5_pps_out()
623 MLX5_SET64(mtpps_reg, in, time_stamp, time_stamp); in mlx5_perout_configure()
625 MLX5_SET64(mtpps_reg, in, npps_period, npps_period); in mlx5_perout_configure()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c182 MLX5_SET64(ipsec_obj, obj, modify_field_select, in mlx5_modify_ipsec_obj()
Dmacsec.c284 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)attrs->ssci); in mlx5e_macsec_create_object()
289 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)(attrs->sci)); in mlx5e_macsec_create_object()
1358 MLX5_SET64(macsec_offload_obj, obj, modify_field_select, in mlx5e_macsec_modify_obj()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c58 MLX5_SET64(fpga_access_reg, in, address, addr); in mlx5_fpga_access_reg()
Dconn.c460 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq()
577 MLX5_SET64(qpc, qpc, dbr_addr, conn->qp.wq_ctrl.db.dma); in mlx5_fpga_conn_create_qp()
688 MLX5_SET64(qpc, qpc, dbr_addr, conn->qp.wq_ctrl.db.dma); in mlx5_fpga_conn_init_qp()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Drsc_dump.c111 MLX5_SET64(resource_dump, cmd->cmd, address, dma); in mlx5_rsc_dump_trigger()
Dfw_tracer.c207 MLX5_SET64(mkc, mkc, start_addr, tracer->buff.dma); in mlx5_fw_tracer_create_mkey()
208 MLX5_SET64(mkc, mkc, len, tracer->buff.size); in mlx5_fw_tracer_create_mkey()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c484 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
1060 MLX5_SET64(hca_vport_context, ctx, port_guid, req->port_guid); in mlx5_core_modify_hca_vport_context()
1062 MLX5_SET64(hca_vport_context, ctx, node_guid, req->node_guid); in mlx5_core_modify_hca_vport_context()
Den_main.c356 MLX5_SET64(mkc, mkc, len, npages << page_shift); in mlx5e_create_umr_mkey()
944 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq()
1034 MLX5_SET64(modify_rq_in, in, modify_bitmask, in mlx5e_modify_rq_scatter_fcs()
1062 MLX5_SET64(modify_rq_in, in, modify_bitmask, in mlx5e_modify_rq_vsd()
1551 MLX5_SET64(wq, wq, dbr_addr, csp->wq_ctrl->db.dma); in mlx5e_create_sq()
1589 MLX5_SET64(modify_sq_in, in, modify_bitmask, bitmask); in mlx5e_modify_sq()
1966 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in mlx5e_create_cq()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c477 MLX5_SET64(qpc, qpc, dbr_addr, vqp->db.dma); in qp_create()
632 MLX5_SET64(cqc, cqc, dbr_addr, vcq->db.dma); in cq_create()
728 MLX5_SET64(umem, um, num_of_mtt, umem->frag_buf.npages); in create_umem()
881 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue()
882 MLX5_SET64(virtio_q, vq_ctx, used_addr, mvq->device_addr); in create_virtqueue()
883 MLX5_SET64(virtio_q, vq_ctx, available_addr, mvq->driver_addr); in create_virtqueue()
1168 MLX5_SET64(virtio_net_q_object, obj_context, modify_field_select, in modify_virtqueue()
1373 MLX5_SET64(modify_rqt_in, in, bitmask, MLX5_MODIFY_RQT_NUM_RQS); in modify_rqt()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h110 #define MLX5_SET64(typ, p, fld, v) do { \ macro