Skip to content
Commit 8a7c3213 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

vdpa/mlx5: fix up endian-ness for mtu



VDPA mlx5 accesses config space as native endian - this is
wrong since it's a modern device and actually uses LE.

It only supports modern guests so we could punt and
just force LE, but let's use the full virtio APIs since people
tend to copy/paste code, and this is not data path anyway.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent cf16fe92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment