[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090109.230817.36393679.davem@davemloft.net>
Date: Fri, 09 Jan 2009 23:08:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: nbd@...nwrt.org
Cc: netdev@...r.kernel.org, mb@...sch.de
Subject: Re: [PATCH v2] b44: fix misalignment and wasted space in rx
handling
From: Felix Fietkau <nbd@...nwrt.org>
Date: Fri, 09 Jan 2009 13:39:57 +0100
> Broadcom 4400 puts a header of configurable size (apparently needs
> to be at least 28 bytes) in front of received packets. When handling
> this, the previous code accidentally added the offset 30 *twice* for
> the software and once for the hardware, thereby cancelling out the
> IP alignment effect of the 30 byte padding and wasting an additional
> 30 bytes of memory per packet.
>
> This patch fixes this problem and improves routing throughput by
> about 30% on MIPS, where unaligned access is expensive.
>
> Signed-off-by: Felix Fietkau <nbd@...nwrt.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists