virtio-net: Add missing flag define to struct
PATCH 1/1 virtio-net: Add missing flag define to struct
From: sameehj <[email protected]>
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.
--- content.tex | 1 + 1 file changed, 1 insertion(+)
content.tex +1 -0
@@ -3305,6 +3305,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
Signature · 6 lines
2.13.6 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Quoted 8 lines · Sameeh Jubran
From: sameehj <[email protected]>
The flag
VIRTIO_NET_HDR_F_DATA_VALIDis 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.--- content.tex | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Stefan Hajnoczi <[email protected]>