Lines Matching refs:obj_context
799 void *obj_context; in create_virtqueue() local
821 obj_context = MLX5_ADDR_OF(create_virtio_net_q_in, in, obj_context); in create_virtqueue()
822 MLX5_SET(virtio_net_q_object, obj_context, hw_available_index, mvq->avail_idx); in create_virtqueue()
823 MLX5_SET(virtio_net_q_object, obj_context, hw_used_index, mvq->used_idx); in create_virtqueue()
824 MLX5_SET(virtio_net_q_object, obj_context, queue_feature_bit_mask_12_3, in create_virtqueue()
826 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue()
830 MLX5_SET(virtio_net_q_object, obj_context, tisn_or_qpn, ndev->res.tisn); in create_virtqueue()
1053 void *obj_context; in query_virtqueue() local
1071 obj_context = MLX5_ADDR_OF(query_virtio_net_q_out, out, obj_context); in query_virtqueue()
1073 attr->state = MLX5_GET(virtio_net_q_object, obj_context, state); in query_virtqueue()
1074 attr->available_index = MLX5_GET(virtio_net_q_object, obj_context, hw_available_index); in query_virtqueue()
1075 attr->used_index = MLX5_GET(virtio_net_q_object, obj_context, hw_used_index); in query_virtqueue()
1102 void *obj_context; in modify_virtqueue() local
1124 obj_context = MLX5_ADDR_OF(modify_virtio_net_q_in, in, obj_context); in modify_virtqueue()
1125 MLX5_SET64(virtio_net_q_object, obj_context, modify_field_select, in modify_virtqueue()
1127 MLX5_SET(virtio_net_q_object, obj_context, state, state); in modify_virtqueue()