Thread (74 messages) 74 messages, 5 authors, 2015-02-02

Re: [PATCH RFC v6 16/20] virtio-net: support longer header

From: Stefan Hajnoczi <hidden>
Date: 2015-01-20 13:18:24
Also in: qemu-devel

On Thu, Dec 11, 2014 at 02:25:18PM +0100, Cornelia Huck wrote:
quoted hunk ↗ jump to hunk
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index ebbea60..7ee2bd6 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -373,15 +373,21 @@ static int peer_has_ufo(VirtIONet *n)
     return n->has_ufo;
 }
 
-static void virtio_net_set_mrg_rx_bufs(VirtIONet *n, int mergeable_rx_bufs)
+static void virtio_net_set_mrg_rx_bufs(VirtIONet *n, int mergeable_rx_bufs,
+                                       int version_1)
Please use bool, it makes it 100% clear what the meaning of "version_1"
is.

s/int/bool/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help