Searched refs:vq_ctx (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 844 void *vq_ctx; in create_virtqueue() local 869 vq_ctx = MLX5_ADDR_OF(virtio_net_q_object, obj_context, virtio_q_context); in create_virtqueue() 870 MLX5_SET(virtio_q, vq_ctx, virtio_q_type, get_queue_type(ndev)); in create_virtqueue() 875 MLX5_SET(virtio_q, vq_ctx, event_mode, MLX5_VIRTIO_Q_EVENT_MODE_QP_MODE); in create_virtqueue() 876 MLX5_SET(virtio_q, vq_ctx, queue_index, mvq->index); in create_virtqueue() 877 MLX5_SET(virtio_q, vq_ctx, event_qpn_or_msix, mvq->fwqp.mqp.qpn); in create_virtqueue() 878 MLX5_SET(virtio_q, vq_ctx, queue_size, mvq->num_ent); in create_virtqueue() 879 MLX5_SET(virtio_q, vq_ctx, virtio_version_1_0, in create_virtqueue() 881 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue() 882 MLX5_SET64(virtio_q, vq_ctx, used_addr, mvq->device_addr); in create_virtqueue() [all …]
|