Michael S. Tsirkin
e999d6ea2a
tun: add VNET_LE flag
...
virtio 1.0 modified virtio net header format,
making all fields little endian.
Users can tweak header format before submitting it to tun,
but this means more data copies where none were necessary.
And if the iovec is in RO memory, this means we might
need to split iovec also means we might in theory overflow
iovec max size.
This patch adds a simpler way for applications to handle this,
using new "little endian" flag in tun.
As a result, tun simply byte-swaps header fields as appropriate.
This is a NOP on LE architectures.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-12-09 12:05:30 +02:00
..
acpi
ACPI and power management updates for 3.18-rc2
2014-10-24 11:29:31 -07:00
asm-generic
Merge git://git.infradead.org/users/eparis/audit
2014-10-19 16:25:56 -07:00
clocksource
crypto
crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code
2014-10-14 10:51:22 +02:00
drm
drm/radeon: remove invalid pci id
2014-10-28 10:44:36 -04:00
dt-bindings
The fixes for the clock framework are all regressions in drivers, plus a
2014-11-25 17:52:56 -08:00
keys
KEYS: Restore partial ID matching functionality for asymmetric keys
2014-10-06 15:21:05 +01:00
kvm
arm/arm64: KVM: Fix BE accesses to GICv2 EISR and ELRSR regs
2014-10-16 10:57:41 +02:00
linux
virtio: add legacy feature table support
2014-12-09 12:05:26 +02:00
math-emu
media
Merge branch 'patchwork' into v4l_for_linus
2014-10-09 14:00:54 -03:00
memory
misc
cxl: Add new header for call backs and structs
2014-10-08 20:15:43 +11:00
net
net-timestamp: make tcp_recvmsg call ipv6_recv_error for AF_INET6 socks
2014-11-26 15:45:04 -05:00
pcmcia
ras
rdma
IB/mlx5, iser, isert: Add Signature API additions
2014-10-09 00:10:53 -07:00
rxrpc
scsi
scsi: set REQ_QUEUE for the blk-mq case
2014-10-28 09:53:43 +01:00
soc /tegra
sound
ALSA: pcm: Add big-endian DSD sample formats and fix XMOS DSD sample format
2014-11-21 15:13:28 +01:00
target
target: Add force_pr_aptpl device attribute
2014-10-04 05:41:20 +00:00
trace
Merge branch 'urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/urgent
2014-10-30 07:37:37 +01:00
uapi
tun: add VNET_LE flag
2014-12-09 12:05:30 +02:00
video
fbdev changes for 3.18
2014-10-18 18:03:02 -07:00
xen
xen: remove DEFINE_XENBUS_DRIVER() macro
2014-10-06 10:27:57 +01:00
Kbuild