diff options
author | sameehj <sameeh.j@gmail.com> | 2017-12-21 16:45:04 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-03-20 03:01:13 +0200 |
commit | 602987fba144d996d17bab02c32f2fb91d28b8fa (patch) | |
tree | 76d8f2441282d340dfa2341b71f6271a118e9f78 | |
parent | 58622197571d5160c6cb7f95a112f87ee604f703 (diff) |
virtio-net: Add missing flag define to struct
The flag VIRTIO_NET_HDR_F_DATA_VALID is aleady mentioned in the virtio-net
spec however it is not defined in the struct. This flag is already defined
and used in virtio-net device in Qemu as well as some of it's drivers.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/6
Approved-by: https://www.oasis-open.org/apps/org/workgroup/virtio/ballot.php?id=3182
-rw-r--r-- | content.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content.tex b/content.tex index 7fa9a65..7a92cb1 100644 --- a/content.tex +++ b/content.tex @@ -2715,6 +2715,7 @@ itself is preceded by a header: \begin{lstlisting} struct virtio_net_hdr { #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 +#define VIRTIO_NET_HDR_F_DATA_VALID 2 u8 flags; #define VIRTIO_NET_HDR_GSO_NONE 0 #define VIRTIO_NET_HDR_GSO_TCPV4 1 |