From 602987fba144d996d17bab02c32f2fb91d28b8fa Mon Sep 17 00:00:00 2001
From: sameehj <sameeh.j@gmail.com>
Date: Thu, 21 Dec 2017 16:45:04 +0200
Subject: 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
---
 content.tex | 1 +
 1 file changed, 1 insertion(+)

(limited to 'content.tex')

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
-- 
cgit v1.2.3

