WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [NET] front: Fix indentation of a comment

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [NET] front: Fix indentation of a comment.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Aug 2006 02:40:27 +0000
Delivery-date: Fri, 18 Aug 2006 19:42:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 4b145f81fce466a0b789fe14f0912a8babcebfbd
# Parent  d4efff1beedbabd379a620586e56adc2800b9cb8
[NET] front: Fix indentation of a comment.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c |   40 +++++++++----------
 1 files changed, 20 insertions(+), 20 deletions(-)

diff -r d4efff1beedb -r 4b145f81fce4 
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Wed Aug 16 
16:11:53 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Wed Aug 16 
16:14:03 2006 +0100
@@ -1259,26 +1259,26 @@ err:
 
                i = xennet_fill_frags(np, skb, &tmpq);
 
-        /*
-         * Truesize must approximates the size of true data plus
-         * any supervisor overheads. Adding hypervisor overheads
-         * has been shown to significantly reduce achievable
-         * bandwidth with the default receive buffer size. It is
-         * therefore not wise to account for it here.
-         *
-         * After alloc_skb(RX_COPY_THRESHOLD), truesize is set to
-         * RX_COPY_THRESHOLD + the supervisor overheads. Here, we
-         * add the size of the data pulled in xennet_fill_frags().
-         *
-         * We also adjust for any unused space in the main data
-         * area by subtracting (RX_COPY_THRESHOLD - len). This is
-         * especially important with drivers which split incoming
-         * packets into header and data, using only 66 bytes of
-         * the main data area (see the e1000 driver for example.)
-         * On such systems, without this last adjustement, our
-         * achievable receive throughout using the standard receive
-         * buffer size was cut by 25%(!!!).
-         */
+               /*
+                * Truesize must approximates the size of true data plus
+                * any supervisor overheads. Adding hypervisor overheads
+                * has been shown to significantly reduce achievable
+                * bandwidth with the default receive buffer size. It is
+                * therefore not wise to account for it here.
+                *
+                * After alloc_skb(RX_COPY_THRESHOLD), truesize is set to
+                * RX_COPY_THRESHOLD + the supervisor overheads. Here, we
+                * add the size of the data pulled in xennet_fill_frags().
+                *
+                * We also adjust for any unused space in the main data
+                * area by subtracting (RX_COPY_THRESHOLD - len). This is
+                * especially important with drivers which split incoming
+                * packets into header and data, using only 66 bytes of
+                * the main data area (see the e1000 driver for example.)
+                * On such systems, without this last adjustement, our
+                * achievable receive throughout using the standard receive
+                * buffer size was cut by 25%(!!!).
+                */
                skb->truesize += skb->data_len - (RX_COPY_THRESHOLD - len);
                skb->len += skb->data_len;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [NET] front: Fix indentation of a comment., Xen patchbot-unstable <=