Home
last modified time | relevance | path

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

/linux/include/linux/mlx5/
H A Dmlx5_ifc_vdpa.h119 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
141 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
180 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
H A Dmlx5_ifc.h6742 struct mlx5_ifc_match_definer_bits obj_context; member
13045 struct mlx5_ifc_page_track_bits obj_context; member
13050 struct mlx5_ifc_page_track_bits obj_context; member
13055 struct mlx5_ifc_page_track_bits obj_context; member
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c863 void *obj_context; in mlx5vf_create_tracker() local
887 obj_context = MLX5_ADDR_OF(create_page_track_obj_in, in, obj_context); in mlx5vf_create_tracker()
888 MLX5_SET(page_track, obj_context, vhca_id, mvdev->vhca_id); in mlx5vf_create_tracker()
889 MLX5_SET(page_track, obj_context, track_type, 1); in mlx5vf_create_tracker()
890 MLX5_SET(page_track, obj_context, log_page_size, in mlx5vf_create_tracker()
892 MLX5_SET(page_track, obj_context, log_msg_size, in mlx5vf_create_tracker()
894 MLX5_SET(page_track, obj_context, reporting_qpn, tracker->fw_qp->qpn); in mlx5vf_create_tracker()
895 MLX5_SET(page_track, obj_context, num_ranges, num_ranges); in mlx5vf_create_tracker()
897 range_list_ptr = MLX5_ADDR_OF(page_track, obj_context, track_range); in mlx5vf_create_tracker()
920 MLX5_SET(page_track, obj_context, log_addr_space_size, in mlx5vf_create_tracker()
[all …]
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c888 void *obj_context; in create_virtqueue() local
912 obj_context = MLX5_ADDR_OF(create_virtio_net_q_in, in, obj_context); in create_virtqueue()
913 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_12_3, in create_virtqueue()
915 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_2_0, in create_virtqueue()
917 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue()
921 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()
937 MLX5_SET(virtio_net_q_object, obj_context, hw_available_index, mvq->avail_idx); in create_virtqueue()
938 MLX5_SET(virtio_net_q_object, obj_context, hw_used_index, mvq->used_idx); in create_virtqueue()
1213 void *obj_context = MLX5_ADDR_OF(query_virtio_net_q_out, cmd->out, obj_context); in query_virtqueue_end() local
1216 attr->state = MLX5_GET(virtio_net_q_object, obj_context, state); in query_virtqueue_end()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c1061 ptr = MLX5_ADDR_OF(create_match_definer_in, in, obj_context); in mlx5_cmd_create_match_definer()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c635 ptr = MLX5_ADDR_OF(create_match_definer_in, in, obj_context); in mlx5dr_cmd_create_definer()