Displaying 6 results from an estimated 6 matches for "vhost_vring_f_legacy_big_endian".
2015 Feb 20
0
[PATCH 1/3] vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
The VHOST_VRING_F_LEGACY_BIG_ENDIAN flag informs the kernel that the
associated device is big endian. Of course, this only makes sense for
legacy virtio devices since modern virtio devices are always little
endian.
It will be used by the vhost memory accessors to byteswap vring data when
we have a legacy device, in case host and gue...
2015 Feb 20
0
[PATCH 1/3] vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
The VHOST_VRING_F_LEGACY_BIG_ENDIAN flag informs the kernel that the
associated device is big endian. Of course, this only makes sense for
legacy virtio devices since modern virtio devices are always little
endian.
It will be used by the vhost memory accessors to byteswap vring data when
we have a legacy device, in case host and gue...
2015 Feb 20
8
[PATCH 0/3] vhost_net: support for cross endian guests
...MST:
- the API now asks for a specific format (big endian) instead of the hint
whether byteswap is needed or not (patch 1)
- rebased on top of the virtio-1 accessors (patch 2)
Patch 3 is a separate fix: I think it is also valid for virtio-1.
Please comment.
---
Greg Kurz (3):
vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
vhost: add support for legacy virtio
vhost_net: fix virtio_net header endianness
drivers/vhost/net.c | 32 ++++++++++++++++++++++++++------
drivers/vhost/vhost.c | 6 +++++-
drivers/vhost/vhost.h | 23 +++++++++++++++++------
include/uapi/linux/vhost.h |...
2015 Feb 20
8
[PATCH 0/3] vhost_net: support for cross endian guests
...MST:
- the API now asks for a specific format (big endian) instead of the hint
whether byteswap is needed or not (patch 1)
- rebased on top of the virtio-1 accessors (patch 2)
Patch 3 is a separate fix: I think it is also valid for virtio-1.
Please comment.
---
Greg Kurz (3):
vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
vhost: add support for legacy virtio
vhost_net: fix virtio_net header endianness
drivers/vhost/net.c | 32 ++++++++++++++++++++++++++------
drivers/vhost/vhost.c | 6 +++++-
drivers/vhost/vhost.h | 23 +++++++++++++++++------
include/uapi/linux/vhost.h |...
2015 Feb 22
0
[PATCH 0/3] vhost_net: support for cross endian guests
...also valid for virtio-1.
I don't think so. See e.g. this code in tun:
gso.csum_offset = cpu_to_tun16(tun, skb->csum_offset);
looks like it has the correct endian-ness for virtio-1.
> Please comment.
>
> ---
>
> Greg Kurz (3):
> vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
> vhost: add support for legacy virtio
> vhost_net: fix virtio_net header endianness
>
>
> drivers/vhost/net.c | 32 ++++++++++++++++++++++++++------
> drivers/vhost/vhost.c | 6 +++++-
> drivers/vhost/vhost.h | 23 +++++++++++++++++--...
2015 Feb 22
0
[PATCH 0/3] vhost_net: support for cross endian guests
...also valid for virtio-1.
I don't think so. See e.g. this code in tun:
gso.csum_offset = cpu_to_tun16(tun, skb->csum_offset);
looks like it has the correct endian-ness for virtio-1.
> Please comment.
>
> ---
>
> Greg Kurz (3):
> vhost: add VHOST_VRING_F_LEGACY_BIG_ENDIAN flag
> vhost: add support for legacy virtio
> vhost_net: fix virtio_net header endianness
>
>
> drivers/vhost/net.c | 32 ++++++++++++++++++++++++++------
> drivers/vhost/vhost.c | 6 +++++-
> drivers/vhost/vhost.h | 23 +++++++++++++++++--...