Home
last modified time | relevance | path

Searched refs:obj_context (Results 1 – 4 of 4) sorted by relevance

/drivers/vfio/pci/mlx5/
Dcmd.c749 void *obj_context; in mlx5vf_create_tracker() local
773 obj_context = MLX5_ADDR_OF(create_page_track_obj_in, in, obj_context); in mlx5vf_create_tracker()
774 MLX5_SET(page_track, obj_context, vhca_id, mvdev->vhca_id); in mlx5vf_create_tracker()
775 MLX5_SET(page_track, obj_context, track_type, 1); in mlx5vf_create_tracker()
776 MLX5_SET(page_track, obj_context, log_page_size, in mlx5vf_create_tracker()
778 MLX5_SET(page_track, obj_context, log_msg_size, in mlx5vf_create_tracker()
780 MLX5_SET(page_track, obj_context, reporting_qpn, tracker->fw_qp->qpn); in mlx5vf_create_tracker()
781 MLX5_SET(page_track, obj_context, num_ranges, num_ranges); in mlx5vf_create_tracker()
783 range_list_ptr = MLX5_ADDR_OF(page_track, obj_context, track_range); in mlx5vf_create_tracker()
806 MLX5_SET(page_track, obj_context, log_addr_space_size, in mlx5vf_create_tracker()
[all …]
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c862 void *obj_context; in create_virtqueue() local
886 obj_context = MLX5_ADDR_OF(create_virtio_net_q_in, in, obj_context); in create_virtqueue()
887 MLX5_SET(virtio_net_q_object, obj_context, hw_available_index, mvq->avail_idx); in create_virtqueue()
888 MLX5_SET(virtio_net_q_object, obj_context, hw_used_index, mvq->used_idx); in create_virtqueue()
889 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_12_3, in create_virtqueue()
891 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_2_0, in create_virtqueue()
893 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue()
897 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()
1126 void *obj_context; in query_virtqueue() local
1144 obj_context = MLX5_ADDR_OF(query_virtio_net_q_out, out, obj_context); in query_virtqueue()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c1061 ptr = MLX5_ADDR_OF(create_match_definer_in, in, obj_context); in mlx5_cmd_create_match_definer()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c635 ptr = MLX5_ADDR_OF(create_match_definer_in, in, obj_context); in mlx5dr_cmd_create_definer()