Searched refs:vq_ctx (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 891 void *vq_ctx; in create_virtqueue() local 917 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue() 918 MLX5_SET(virtio_q, vq_ctx, virtio_q_type, get_queue_type(ndev)); in create_virtqueue() 924 MLX5_SET(virtio_q, vq_ctx, event_mode, MLX5_VIRTIO_Q_EVENT_MODE_MSIX_MODE); in create_virtqueue() 925 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->map.index); in create_virtqueue() 927 MLX5_SET(virtio_q, vq_ctx, event_mode, MLX5_VIRTIO_Q_EVENT_MODE_QP_MODE); in create_virtqueue() 928 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->fwqp.mqp.qpn); in create_virtqueue() 931 MLX5_SET(virtio_q, vq_ctx, queue_index, mvq->index); in create_virtqueue() 932 MLX5_SET(virtio_q, vq_ctx, queue_size, mvq->num_ent); in create_virtqueue() 933 MLX5_SET(virtio_q, vq_ctx, virtio_version_1_0, in create_virtqueue() [all …]
|