Michael S. Tsirkin m...@redhat.com writes:
On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote:
Michael S. Tsirkin m...@redhat.com writes:
For small packets we can simplify xmit processing
by linearizing buffers with the header:
most packets seem to have enough head room
we can
On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote:
Michael S. Tsirkin m...@redhat.com writes:
For small packets we can simplify xmit processing
by linearizing buffers with the header:
most packets seem to have enough head room
we can use for this purpose.
Since existing
On Fri, Jun 07, 2013 at 10:52:01AM +0800, Jason Wang wrote:
On 06/06/2013 05:55 PM, Michael S. Tsirkin wrote:
For small packets we can simplify xmit processing by linearizing buffers
with the header: most packets seem to have enough head room we can use
for this purpose.
Since some
On Fri, Jun 07, 2013 at 11:42:43AM +0930, Rusty Russell wrote:
Michael S. Tsirkin m...@redhat.com writes:
For small packets we can simplify xmit processing by linearizing buffers
with the header: most packets seem to have enough head room we can use
for this purpose.
Since some older
For small packets we can simplify xmit processing by linearizing buffers
with the header: most packets seem to have enough head room we can use
for this purpose.
Since some older hypervisors (e.g. qemu before version 1.5)
required that header is the first s/g element,
we need a feature bit for
Hi Michael!
On 06/06/2013 04:55 AM, Michael S. Tsirkin wrote:
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index c9e0038..d35a097 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -106,6 +106,9 @@ struct virtnet_info {
/* Has control virtqueue
On 06/06/2013 03:09 PM, Dave Jones wrote:
On Thu, Jun 06, 2013 at 02:59:44PM -0500, Jesse Larrew wrote:
pr_debug(%s: xmit %p %pM\n, vi-dev-name, skb, dest);
+if (vi-mergeable_rx_bufs)
+hdr_len = sizeof hdr-mhdr;
+else
+
On Thu, Jun 06, 2013 at 02:59:44PM -0500, Jesse Larrew wrote:
pr_debug(%s: xmit %p %pM\n, vi-dev-name, skb, dest);
+ if (vi-mergeable_rx_bufs)
+ hdr_len = sizeof hdr-mhdr;
+ else
+ hdr_len = sizeof hdr-hdr;
All conditionals need braces.
On 06/06/2013 05:55 PM, Michael S. Tsirkin wrote:
For small packets we can simplify xmit processing by linearizing buffers
with the header: most packets seem to have enough head room we can use
for this purpose.
Since some older hypervisors (e.g. qemu before version 1.5)
required that header
Michael S. Tsirkin m...@redhat.com writes:
For small packets we can simplify xmit processing by linearizing buffers
with the header: most packets seem to have enough head room we can use
for this purpose.
Since some older hypervisors (e.g. qemu before version 1.5)
required that header is the
10 matches
Mail list logo