summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-09-14 15:50:32 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-09-14 15:53:28 +0200
commit6b8f90c276ac25cd37f143a00d467a8ccb19c4c6 (patch)
treeb62dd00ec3b0fde5bdc4a2b33e147fb8d236d391 /security
parent2b4a624d706d404a3edccb6d1bb2c440a6dbbc31 (diff)
mv643xx_eth: avoid reading ->byte_cnt twice during receive processing
Currently, the receive processing reads ->byte_cnt twice (once to update interface statistics and once to properly size the data area of the received skb), but since receive descriptors live in uncached memory, caching this value in a local variable saves one uncached access, and increases routing performance a tiny little bit more. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions