linux/drivers/vhost
Michael S. Tsirkin e407f39afd vhost: fix performance on LE hosts
commit 2751c9882b ("vhost: cross-endian
support for legacy devices") introduced a minor regression: even with
cross-endian disabled, and even on LE host, vhost_is_little_endian is
checking is_le flag so there's always a branch.

To fix, simply check virtio_legacy_is_little_endian first.

Cc: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-27 20:17:03 -07:00
..
Kconfig
Makefile
net.c vhost: move features to core 2015-09-16 12:48:07 +03:00
scsi.c virtio: fixes on top of 4.3-rc1 2015-09-18 09:28:20 -07:00
test.c vhost: move features to core 2015-09-16 12:48:07 +03:00
test.h
vhost.c
vhost.h vhost: fix performance on LE hosts 2015-10-27 20:17:03 -07:00
vringh.c