Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c867 void *vq_ctx; in create_virtqueue() local
895 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue()
896 MLX5_SET(virtio_q, vq_ctx, virtio_q_type, get_queue_type(ndev)); in create_virtqueue()
902 MLX5_SET(virtio_q, vq_ctx, event_mode, MLX5_VIRTIO_Q_EVENT_MODE_MSIX_MODE); in create_virtqueue()
903 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->map.index); in create_virtqueue()
905 MLX5_SET(virtio_q, vq_ctx, event_mode, MLX5_VIRTIO_Q_EVENT_MODE_QP_MODE); in create_virtqueue()
906 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->fwqp.mqp.qpn); in create_virtqueue()
909 MLX5_SET(virtio_q, vq_ctx, queue_index, mvq->index); in create_virtqueue()
910 MLX5_SET(virtio_q, vq_ctx, queue_size, mvq->num_ent); in create_virtqueue()
911 MLX5_SET(virtio_q, vq_ctx, virtio_version_1_0, in create_virtqueue()
[all …]