commit | 64ffa39dc860fb9772225c694353f73eca5801c6 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Aug 05 05:39:36 2020 -0400 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Aug 05 11:08:41 2020 -0400 |
tree | 547462f63d3b8f40c293bcd691533900c019a2de | |
parent | 83eb9db95eb453f1db651909ad4598c3d44ef1e1 [diff] |
virtio_net: use LE accessors for speed/duplex Speed and duplex config fields depend on VIRTIO_NET_F_SPEED_DUPLEX which being 63>31 depends on VIRTIO_F_VERSION_1. Accordingly, use LE accessors for these fields. Reported-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>