Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc_vdpa.h115 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
137 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
169 struct mlx5_ifc_virtio_net_q_object_bits obj_context; member
Dmlx5_ifc.h6149 struct mlx5_ifc_match_definer_bits obj_context; member
12069 struct mlx5_ifc_page_track_bits obj_context; member
12074 struct mlx5_ifc_page_track_bits obj_context; member
/linux-6.1.9/drivers/vfio/pci/mlx5/
Dcmd.c488 void *obj_context; in mlx5vf_create_tracker() local
512 obj_context = MLX5_ADDR_OF(create_page_track_obj_in, in, obj_context); in mlx5vf_create_tracker()
513 MLX5_SET(page_track, obj_context, vhca_id, mvdev->vhca_id); in mlx5vf_create_tracker()
514 MLX5_SET(page_track, obj_context, track_type, 1); in mlx5vf_create_tracker()
515 MLX5_SET(page_track, obj_context, log_page_size, in mlx5vf_create_tracker()
517 MLX5_SET(page_track, obj_context, log_msg_size, in mlx5vf_create_tracker()
519 MLX5_SET(page_track, obj_context, reporting_qpn, tracker->fw_qp->qpn); in mlx5vf_create_tracker()
520 MLX5_SET(page_track, obj_context, num_ranges, num_ranges); in mlx5vf_create_tracker()
522 range_list_ptr = MLX5_ADDR_OF(page_track, obj_context, track_range); in mlx5vf_create_tracker()
545 MLX5_SET(page_track, obj_context, log_addr_space_size, in mlx5vf_create_tracker()
[all …]
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c842 void *obj_context; in create_virtqueue() local
864 obj_context = MLX5_ADDR_OF(create_virtio_net_q_in, in, obj_context); in create_virtqueue()
865 MLX5_SET(virtio_net_q_object, obj_context, hw_available_index, mvq->avail_idx); in create_virtqueue()
866 MLX5_SET(virtio_net_q_object, obj_context, hw_used_index, mvq->used_idx); in create_virtqueue()
867 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_12_3, in create_virtqueue()
869 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue()
873 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()
1096 void *obj_context; in query_virtqueue() local
1114 obj_context = MLX5_ADDR_OF(query_virtio_net_q_out, out, obj_context); in query_virtqueue()
1116 attr->state = MLX5_GET(virtio_net_q_object, obj_context, state); in query_virtqueue()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c1020 ptr = MLX5_ADDR_OF(create_match_definer_in, in, obj_context); in mlx5_cmd_create_match_definer()