[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [NET] front: Fix indentation of a comment.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |